dotfiles/.emacs.d/snippets/ruby-mode/inject

4 lines
112 B
Plaintext

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