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