Wednesday, December 14, 2016

Adding a Snippet for Ruby in Atom Text Editor

Actually unnecessary, as Atom's Ruby bundle already has this built in, but I realised this after I had worked out a "class" snippet.


'.source.ruby':
  'Console class':
    'prefix': 'class'
    'body': 'class ${1:method_name}\n\t$0\nend'

Oh well, I learned a bit about CSON.


No comments:

Post a Comment

1,050 hours

It took me 13 working days to complete my first 100 "work" pomodoros as a Junior Software Tester at Profectus Group.  Much of ...