diff options
Diffstat (limited to '.emacs.d/mysnippets/text-mode/ruby-mode/Comp')
| -rw-r--r-- | .emacs.d/mysnippets/text-mode/ruby-mode/Comp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.emacs.d/mysnippets/text-mode/ruby-mode/Comp b/.emacs.d/mysnippets/text-mode/ruby-mode/Comp new file mode 100644 index 0000000..03f2b35 --- /dev/null +++ b/.emacs.d/mysnippets/text-mode/ruby-mode/Comp | |||
| @@ -0,0 +1,8 @@ | |||
| 1 | #name : include Comparable; def <=> ... end | ||
| 2 | #group : definitions | ||
| 3 | # -- | ||
| 4 | include Comparable | ||
| 5 | |||
| 6 | def <=> other | ||
| 7 | $0 | ||
| 8 | end \ No newline at end of file | ||
