summaryrefslogtreecommitdiffstats
path: root/emacs.d/lisp/yasnippet/snippets/ruby-mode/control structure/forin
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/lisp/yasnippet/snippets/ruby-mode/control structure/forin')
-rw-r--r--emacs.d/lisp/yasnippet/snippets/ruby-mode/control structure/forin5
1 files changed, 5 insertions, 0 deletions
diff --git a/emacs.d/lisp/yasnippet/snippets/ruby-mode/control structure/forin b/emacs.d/lisp/yasnippet/snippets/ruby-mode/control structure/forin
new file mode 100644
index 0000000..197e09e
--- /dev/null
+++ b/emacs.d/lisp/yasnippet/snippets/ruby-mode/control structure/forin
@@ -0,0 +1,5 @@
+#name : for ... in ...; ... end
+# --
+for ${1:element} in ${2:collection}
+ $0
+end