# -*- mode: snippet -*- # key: begin # contributor: Translated from TextMate Snippet # name: begin … rescue … end ## binding: "^W" ## condition: "source.ruby - comment" # -- begin `(or yas/selected-text (car kill-ring))`$3 rescue ${1:Exception}${2:$(if (string= yas/text "") "" " => ")}${2:e} $0 end