diff options
Diffstat (limited to 'template')
-rw-r--r-- | template/ruby/snip-class.rb | 3 | ||||
-rw-r--r-- | template/ruby/snip-each.rb | 3 | ||||
-rw-r--r-- | template/ruby/snip-module.rb | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/template/ruby/snip-class.rb b/template/ruby/snip-class.rb new file mode 100644 index 0000000..9ecefa6 --- /dev/null +++ b/template/ruby/snip-class.rb @@ -0,0 +1,3 @@ +class {{_input_:name}} + {{_cursor_}} +end diff --git a/template/ruby/snip-each.rb b/template/ruby/snip-each.rb new file mode 100644 index 0000000..2f4ecbe --- /dev/null +++ b/template/ruby/snip-each.rb @@ -0,0 +1,3 @@ +{{_input_:variable}}.each {|x| + {{_cursor_}} +} diff --git a/template/ruby/snip-module.rb b/template/ruby/snip-module.rb new file mode 100644 index 0000000..74a6b06 --- /dev/null +++ b/template/ruby/snip-module.rb @@ -0,0 +1,3 @@ +module {{_input_:name}} + {{_cursor_}} +end |