PageRenderTime 56ms CodeModel.GetById 54ms app.highlight 0ms RepoModel.GetById 2ms app.codeStats 0ms

/ruby-mode/Blocks/open yield block ({).yasnippet

http://github.com/ridgetang/snippets
Unknown | 7 lines | 7 code | 0 blank | 0 comment | 0 complexity | 122eaef3a0dd87b2fccd070340d56659 MD5 | raw file
1# -*- mode: snippet -*-
2# key: {
3# contributor: Translated from TextMate Snippet
4# name: Insert { |variable| … }
5# expand-env: ((yas/wrap-around-region t))
6# --
7{ ${1:$(if (string= yas/text "") "" "|")}${1:variable}${1:$(if (string= yas/text "") "" "|")} $0 }