summaryrefslogtreecommitdiffstats
path: root/emacs.d/snippets/text-mode/ruby-mode/cla
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--emacs.d/snippets/text-mode/ruby-mode/cla6
-rw-r--r--emacs.d/snippets/text-mode/ruby-mode/classify4
2 files changed, 10 insertions, 0 deletions
diff --git a/emacs.d/snippets/text-mode/ruby-mode/cla b/emacs.d/snippets/text-mode/ruby-mode/cla
new file mode 100644
index 0000000..81ccf45
--- /dev/null
+++ b/emacs.d/snippets/text-mode/ruby-mode/cla
@@ -0,0 +1,6 @@
+#name : class << self ... end
+#group : definitions
+# --
+class << ${self}
+ $0
+end \ No newline at end of file
diff --git a/emacs.d/snippets/text-mode/ruby-mode/classify b/emacs.d/snippets/text-mode/ruby-mode/classify
new file mode 100644
index 0000000..2378afa
--- /dev/null
+++ b/emacs.d/snippets/text-mode/ruby-mode/classify
@@ -0,0 +1,4 @@
+#name : classify { |...| ... }
+#group : collections
+# --
+classify { |${e}| $0 } \ No newline at end of file