2016-12-27 19:38:56 -07:00

15 lines
234 B
Plaintext

module ${1:`Snippet_RubyClassNameFromFilename()`}
module ClassMethods
${2}
end
module InstanceMethods
end
def self.included(receiver)
receiver.extend ClassMethods
receiver.send :include, InstanceMethods
end
end