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