mirror of
https://github.com/atom/atom.git
synced 2026-01-24 22:38:20 -05:00
30 lines
714 B
Plaintext
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>
|