# -*- mode: snippet -*- # key: do # contributor: Translated from TextMate Snippet # name: Insert do |variable| … end ## condition: "source.ruby" # -- do ${1:$(if (string= yas/text "") "" "|")}${1:variable}${1:$(if (string= yas/text "") "" "|")} $0 end