fix each_slice can't trigger

This commit is contained in:
Goare Mao 2013-12-03 11:18:21 +08:00
parent cca1deb78c
commit c07996bd22

View File

@ -249,16 +249,16 @@ endsnippet
snippet each_?s(lice)? "<array>.each_slice(n) do |slice| <block> end" snippet "each_?s(lice)?" "<array>.each_slice(n) do |slice| <block> end" r
each_slice(${1:2}) do |${2:slice}| ${1:elements}.each_slice(${2:2}) do |${3:slice}|
${0:# TODO} ${0:# TODO}
end end
endsnippet endsnippet
snippet Each_?s(lice)? "<array>.each_slice(n) { |slice| <block> }" snippet "Each_?s(lice)?" "<array>.each_slice(n) { |slice| <block> }" r
each_slice(${1:2}) { |${2:slice}| ${3:# TODO} } ${1:elements}.each_slice(${2:2}) { |${3:slice}| ${0:# TODO} }
endsnippet endsnippet