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

5 lines
115 B
Plaintext
Raw Normal View History

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