diff options
Diffstat (limited to '')
-rw-r--r-- | emacs.d/snippets/text-mode/ruby-mode/r | 4 | ||||
-rw-r--r-- | emacs.d/snippets/text-mode/ruby-mode/rb | 4 | ||||
-rw-r--r-- | emacs.d/snippets/text-mode/ruby-mode/reject | 4 | ||||
-rw-r--r-- | emacs.d/snippets/text-mode/ruby-mode/req | 4 | ||||
-rw-r--r-- | emacs.d/snippets/text-mode/ruby-mode/rreq | 4 | ||||
-rw-r--r-- | emacs.d/snippets/text-mode/ruby-mode/rw | 4 |
6 files changed, 24 insertions, 0 deletions
diff --git a/emacs.d/snippets/text-mode/ruby-mode/r b/emacs.d/snippets/text-mode/ruby-mode/r new file mode 100644 index 0000000..2e7b797 --- /dev/null +++ b/emacs.d/snippets/text-mode/ruby-mode/r @@ -0,0 +1,4 @@ +#name : attr_reader ... +#group : definitions +# -- +attr_reader :
\ No newline at end of file diff --git a/emacs.d/snippets/text-mode/ruby-mode/rb b/emacs.d/snippets/text-mode/ruby-mode/rb new file mode 100644 index 0000000..74d26dd --- /dev/null +++ b/emacs.d/snippets/text-mode/ruby-mode/rb @@ -0,0 +1,4 @@ +#name : /usr/bin/ruby -wKU +#group : general +# -- +#!/usr/bin/ruby -wKU diff --git a/emacs.d/snippets/text-mode/ruby-mode/reject b/emacs.d/snippets/text-mode/ruby-mode/reject new file mode 100644 index 0000000..c2501bc --- /dev/null +++ b/emacs.d/snippets/text-mode/ruby-mode/reject @@ -0,0 +1,4 @@ +#name : reject { |...| ... } +#group : collections +# -- +reject { |${1:element}| $0 }
\ No newline at end of file diff --git a/emacs.d/snippets/text-mode/ruby-mode/req b/emacs.d/snippets/text-mode/ruby-mode/req new file mode 100644 index 0000000..3e001ec --- /dev/null +++ b/emacs.d/snippets/text-mode/ruby-mode/req @@ -0,0 +1,4 @@ +#name : require "..." +#group : general +# -- +require "$0"
\ No newline at end of file diff --git a/emacs.d/snippets/text-mode/ruby-mode/rreq b/emacs.d/snippets/text-mode/ruby-mode/rreq new file mode 100644 index 0000000..0b9c6a4 --- /dev/null +++ b/emacs.d/snippets/text-mode/ruby-mode/rreq @@ -0,0 +1,4 @@ +#name : require File.join(File.dirname(__FILE__), ...) +#group : general +# -- +require File.join(File.dirname(__FILE__), $0)
\ No newline at end of file diff --git a/emacs.d/snippets/text-mode/ruby-mode/rw b/emacs.d/snippets/text-mode/ruby-mode/rw new file mode 100644 index 0000000..a364675 --- /dev/null +++ b/emacs.d/snippets/text-mode/ruby-mode/rw @@ -0,0 +1,4 @@ +#name : attr_accessor ... +#group : definitions +# -- +attr_accessor :
\ No newline at end of file |