summaryrefslogtreecommitdiffstats
path: root/emacs.d/lisp/yasnippet/snippets/ruby-mode/control structure/if
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/lisp/yasnippet/snippets/ruby-mode/control structure/if')
-rw-r--r--emacs.d/lisp/yasnippet/snippets/ruby-mode/control structure/if5
1 files changed, 5 insertions, 0 deletions
diff --git a/emacs.d/lisp/yasnippet/snippets/ruby-mode/control structure/if b/emacs.d/lisp/yasnippet/snippets/ruby-mode/control structure/if
new file mode 100644
index 0000000..c96069b
--- /dev/null
+++ b/emacs.d/lisp/yasnippet/snippets/ruby-mode/control structure/if
@@ -0,0 +1,5 @@
+#name : if ... end
+# --
+if ${1:condition}
+ $0
+end