1. lhonda
  2. python emacs

Source

python emacs / yasnippet-0.6.1c / snippets / text-mode / ruby-mode / ife

1
2
3
4
5
6
7
8
#name : if ... else ... end
#group : control structure
# --
if ${1:condition}
  $2
else
  $3
end