diff options
Diffstat (limited to 'emacs.d/lisp/yasnippet/snippets/ruby-mode/definitions/Comp')
-rw-r--r-- | emacs.d/lisp/yasnippet/snippets/ruby-mode/definitions/Comp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/emacs.d/lisp/yasnippet/snippets/ruby-mode/definitions/Comp b/emacs.d/lisp/yasnippet/snippets/ruby-mode/definitions/Comp new file mode 100644 index 0000000..7afea97 --- /dev/null +++ b/emacs.d/lisp/yasnippet/snippets/ruby-mode/definitions/Comp @@ -0,0 +1,7 @@ +#name : include Comparable; def <=> ... end +# -- +include Comparable + +def <=> other + $0 +end |