added haml if statements

This commit is contained in:
babybeasimple 2013-06-07 13:13:19 +04:00
parent c8783fd02f
commit c3a924d772

View File

@ -19,4 +19,12 @@ snippet rpl
= render :partial => "${1:item}", :locals => { :${2:$1} => ${3:@$1}
snippet rpo
= render :partial => "${1:item}", :object => ${2:@$1}
snippet ife
- if ${1:condition}
${2}
- else
${3}
snippet ifp
- if ${1:condition}.presence?
${2}