summaryrefslogtreecommitdiffstats
path: root/emacs.d/snippets/text-mode/ruby-mode/forin
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/snippets/text-mode/ruby-mode/forin')
-rw-r--r--emacs.d/snippets/text-mode/ruby-mode/forin6
1 files changed, 6 insertions, 0 deletions
diff --git a/emacs.d/snippets/text-mode/ruby-mode/forin b/emacs.d/snippets/text-mode/ruby-mode/forin
new file mode 100644
index 0000000..36b4387
--- /dev/null
+++ b/emacs.d/snippets/text-mode/ruby-mode/forin
@@ -0,0 +1,6 @@
+#name : for ... in ...; ... end
+#group : control structure
+# --
+for ${1:element} in ${2:collection}
+ $0
+end \ No newline at end of file