/rhtml-mode/%ifel

http://github.com/ridgetang/snippets · #! · 6 lines · 6 code · 0 blank · 0 comment · 0 complexity · 30623a269598aa7ff580f4465f9d8b78 MD5 · raw file

  1. #name : <% if ... -%> $. <% else -%> <% end -%>
  2. # --
  3. <% if $0cond} -%>
  4. $0
  5. <% else -%>
  6. <% end -%>