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