my-emacs-d/elpa/yasnippet-20160924.2001/snippets/ruby-mode/red
2016-10-20 10:27:10 +02:00

5 lines
115 B
Plaintext

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