Merge pull request #221 from mclee/erb_if

add if/ife snippets to eruby
This commit is contained in:
Iuri Fernandes 2013-06-10 06:48:38 -07:00
commit d05a3d0008

View File

@ -111,3 +111,13 @@ snippet slt
<%= stylesheet_link_tag ${1::all}, :cache => ${2:true} %>
snippet sslt
<%= stylesheet_link_tag "${1}" %>
snippet if
<% if ${1} %>
${2}
<% end %>
snippet ife
<% if ${1} %>
${2}
<% else %>
${3}
<% end %>