Merge pull request #219 from babybeasimple/master

haml if statements
This commit is contained in:
Marc Weber 2013-06-18 04:14:40 -07:00
commit 1e3f2e242d

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}