diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2009-10-22 05:30:58 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2009-10-22 05:30:58 +0200 |
commit | c13334d651b13d8b047cb3dc35ad3e1ef239013f (patch) | |
tree | ce0361f3bbbe502af91b33f896644d5695680223 /emacs.d/snippets/text-mode/ruby-mode/r | |
parent | ff21663ded2283850f175e6de619feb5da91fef4 (diff) | |
download | dotfiles-c13334d651b13d8b047cb3dc35ad3e1ef239013f.tar.gz dotfiles-c13334d651b13d8b047cb3dc35ad3e1ef239013f.tar.xz dotfiles-c13334d651b13d8b047cb3dc35ad3e1ef239013f.zip |
added snippets for loading with module from dotfiles
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 |