# -*- mode: snippet -*- # key: for # contributor: Translated from TextMate Snippet # name: for loop in rhtml ## condition: "text.html.ruby" # -- <% if !${1:list}.blank? %> <% for ${2:item} in ${1} %> $3 <% end %> <% else %> $4 <% end %>