summaryrefslogtreecommitdiffstats
path: root/emacs.d/snippets/text-mode/ruby-mode/eac
blob: f0d9cb117410d4b2fd2eaeba68f120f20fb803ea (plain) (blame)
1
2
3
4
#name : each_cons(...) { |...| ... }
#group : collections
# --
each_cons(${1:2}) { |${group}| $0 }