summaryrefslogtreecommitdiffstats
path: root/emacs.d/snippets/text-mode/ruby-mode/case
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/snippets/text-mode/ruby-mode/case')
-rw-r--r--emacs.d/snippets/text-mode/ruby-mode/case7
1 files changed, 7 insertions, 0 deletions
diff --git a/emacs.d/snippets/text-mode/ruby-mode/case b/emacs.d/snippets/text-mode/ruby-mode/case
new file mode 100644
index 0000000..40c3529
--- /dev/null
+++ b/emacs.d/snippets/text-mode/ruby-mode/case
@@ -0,0 +1,7 @@
+#name : case ... end
+#group : general
+# --
+case ${1:object}
+when ${2:condition}
+ $0
+end \ No newline at end of file