mirror of
https://github.com/amix/vimrc
synced 2024-12-21 17:33:07 +00:00
15 lines
234 B
Text
15 lines
234 B
Text
|
module ${1:`Snippet_RubyClassNameFromFilename()`}
|
||
|
module ClassMethods
|
||
|
${2}
|
||
|
end
|
||
|
|
||
|
module InstanceMethods
|
||
|
|
||
|
end
|
||
|
|
||
|
def self.included(receiver)
|
||
|
receiver.extend ClassMethods
|
||
|
receiver.send :include, InstanceMethods
|
||
|
end
|
||
|
end
|