Source

.emacs.d / vendor / yasnippet / snippets / ruby-mode / control structure / ife

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