# -*- mode: snippet -*-
# key: inj
# contributor: Translated from TextMate Snippet
# name: inject(init) { |mem, var| .. }
## condition: "source.ruby"
# --
inject${1:$(if (string= yas/text "") "" "(")}${1:init}${1:$(if (string= yas/text "") "" ")")} { |${2:mem}, ${3:var}| $0 }