summaryrefslogtreecommitdiffstats
path: root/emacs.d/snippets/text-mode/ruby-mode/inject
blob: 37932e56619fa2c05f24223f047e842617825612 (plain) (blame)
1
2
3
4
#name : inject(...) { |...| ... }
#group : collections
# --
inject(${1:0}) { |${2:injection}, ${3:element}| $0 }