diff options
Diffstat (limited to 'emacs.d/snippets/text-mode/ruby-mode/inject')
-rw-r--r-- | emacs.d/snippets/text-mode/ruby-mode/inject | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/emacs.d/snippets/text-mode/ruby-mode/inject b/emacs.d/snippets/text-mode/ruby-mode/inject new file mode 100644 index 0000000..37932e5 --- /dev/null +++ b/emacs.d/snippets/text-mode/ruby-mode/inject @@ -0,0 +1,4 @@ +#name : inject(...) { |...| ... } +#group : collections +# -- +inject(${1:0}) { |${2:injection}, ${3:element}| $0 }
\ No newline at end of file |