PageRenderTime 11ms CodeModel.GetById 0ms RepoModel.GetById 0ms app.codeStats 0ms

/ruby-mode/Blocks/lambda { |args| .. } (lam).yasnippet

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