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