Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
64 lines (60 sloc) 1.76 KB
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>commands</key>
<array>
<dict>
<key>command</key>
<string>moveToBeginningOfDocumentAndModifySelection:</string>
</dict>
<dict>
<key>argument</key>
<dict>
<key>command</key>
<string>insert_requires.rb delegate</string>
<key>input</key>
<string>selection</string>
<key>output</key>
<string>insertAsSnippet</string>
</dict>
<key>command</key>
<string>executeCommandWithOptions:</string>
</dict>
<dict>
<key>argument</key>
<dict>
<key>bundlePath</key>
<string>/Users/james/Library/Application Support/TextMate/Bundles/Ruby Idioms.tmbundle</string>
<key>content</key>
<string>class ${1:${TM_FILENAME/(?:\A|_)([A-Za-z0-9]+)(?:\.rb)?/(?2::\u$1)/g}} &lt; DelegateClass(${2:ParentClass})
def initialize${3/(^.*?\S.*)|.*/(?1:\()/}${3:args}${3/(^.*?\S.*)|.*/(?1:\))/}
super(${4:del_obj})
$0
end
end</string>
<key>scope</key>
<string>source.ruby</string>
<key>supportPath</key>
<string>/Users/james/Library/Application Support/TextMate/Bundles/Ruby Idioms.tmbundle/Support</string>
<key>tabTrigger</key>
<string>class-</string>
<key>uuid</key>
<string>AFE1D078-EA16-45F5-AD8A-FAC1B523D861</string>
</dict>
<key>command</key>
<string>insertSnippetWithOptions:</string>
</dict>
</array>
<key>name</key>
<string>class .. &lt; DelegateClass .. initialize .. end</string>
<key>scope</key>
<string>source.ruby</string>
<key>scopeType</key>
<string>local</string>
<key>tabTrigger</key>
<string>cla</string>
<key>uuid</key>
<string>121B334B-2AA6-4E9A-A8B8-BF93B627982B</string>
</dict>
</plist>