Source

.emacs.d / vendor / yasnippet / snippets / ruby-mode / general / case

1
2
3
4
5
6
7
# name: case ... end
# key: case
# --
case ${1:object}
when ${2:condition}
  $0
end