Files
atom/bundles/ruby.tmbundle/Snippets/module .. ClassMethods .. end.plist
Corey Johnson & Nathan Sobo f84f9c5dd2 Add bundles and themes
2012-08-27 13:20:22 -07:00

30 lines
714 B
Plaintext

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>content</key>
<string>module ${1:${TM_FILENAME/(?:\A|_)([A-Za-z0-9]+)(?:\.rb)?/(?2::\u$1)/g}}
module ClassMethods
$0
end
module InstanceMethods
end
def self.included(receiver)
receiver.extend ClassMethods
receiver.send :include, InstanceMethods
end
end</string>
<key>name</key>
<string>module .. ClassMethods .. end</string>
<key>scope</key>
<string>source.ruby</string>
<key>tabTrigger</key>
<string>mod</string>
<key>uuid</key>
<string>A71A18CF-2D71-4BFF-AA0C-D9B8C59BC4EB</string>
</dict>
</plist>