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