Improve ruby snip.

This commit is contained in:
ujihisa 2013-07-23 23:23:12 -07:00
parent bda2f8ae64
commit d062862957

View File

@ -110,6 +110,10 @@ options word
sort_by {|${1:#:variable}| ${2} } sort_by {|${1:#:variable}| ${2} }
snippet lambda snippet lambda
options word
-> (${1:#:args}) { ${2} }
snippet lambda-keyword
options word options word
lambda {|${1:#:args}| ${2} } lambda {|${1:#:args}| ${2} }