my-emacs-d/elpa/yasnippet-20161022.646/snippets/ruby-mode/inject

4 lines
112 B
Plaintext
Raw Normal View History

#name : inject(...) { |...| ... }
#group : collections
# --
inject(${1:0}) { |${2:injection}, ${3:element}| $0 }