diff options
Diffstat (limited to '')
-rw-r--r-- | emacs.d/snippets/text-mode/ruby-mode/ea | 4 | ||||
-rw-r--r-- | emacs.d/snippets/text-mode/ruby-mode/eac | 4 | ||||
-rw-r--r-- | emacs.d/snippets/text-mode/ruby-mode/eai | 4 | ||||
-rw-r--r-- | emacs.d/snippets/text-mode/ruby-mode/eav | 4 | ||||
-rw-r--r-- | emacs.d/snippets/text-mode/ruby-mode/eawi | 4 |
5 files changed, 20 insertions, 0 deletions
diff --git a/emacs.d/snippets/text-mode/ruby-mode/ea b/emacs.d/snippets/text-mode/ruby-mode/ea new file mode 100644 index 0000000..9cdf8dc --- /dev/null +++ b/emacs.d/snippets/text-mode/ruby-mode/ea @@ -0,0 +1,4 @@ +#name : each { |...| ... } +#group : collections +# -- +each { |${e}| $0 }
\ No newline at end of file diff --git a/emacs.d/snippets/text-mode/ruby-mode/eac b/emacs.d/snippets/text-mode/ruby-mode/eac new file mode 100644 index 0000000..f0d9cb1 --- /dev/null +++ b/emacs.d/snippets/text-mode/ruby-mode/eac @@ -0,0 +1,4 @@ +#name : each_cons(...) { |...| ... } +#group : collections +# -- +each_cons(${1:2}) { |${group}| $0 }
\ No newline at end of file diff --git a/emacs.d/snippets/text-mode/ruby-mode/eai b/emacs.d/snippets/text-mode/ruby-mode/eai new file mode 100644 index 0000000..5b0ed67 --- /dev/null +++ b/emacs.d/snippets/text-mode/ruby-mode/eai @@ -0,0 +1,4 @@ +#name : each_index { |i| ... } +#group : collections +# -- +each_index { |${i}| $0 }
\ No newline at end of file diff --git a/emacs.d/snippets/text-mode/ruby-mode/eav b/emacs.d/snippets/text-mode/ruby-mode/eav new file mode 100644 index 0000000..558e5b4 --- /dev/null +++ b/emacs.d/snippets/text-mode/ruby-mode/eav @@ -0,0 +1,4 @@ +#name : each_value { |val| ... } +#group : collections +# -- +each_value { |${val}| $0 }
\ No newline at end of file diff --git a/emacs.d/snippets/text-mode/ruby-mode/eawi b/emacs.d/snippets/text-mode/ruby-mode/eawi new file mode 100644 index 0000000..edf8418 --- /dev/null +++ b/emacs.d/snippets/text-mode/ruby-mode/eawi @@ -0,0 +1,4 @@ +#name : each_with_index { |e, i| ... } +#group : collections +# -- +each_with_index { |${e}, ${i}| $0 }
\ No newline at end of file |