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