class-..-ParentClass-..-initialize-..-end.sublime-snippet (373B)
1 <snippet> 2 <content><![CDATA[class ${1:${TM_FILENAME/(?:\A|_)([A-Za-z0-9]+)(?:\.rb)?/(?2::\u$1)/g}} < ${2:ParentClass} 3 def initialize${3/(^.*?\S.*)|.*/(?1:\()/}${3:args}${3/(^.*?\S.*)|.*/(?1:\))/} 4 $0 5 end 6 7 8 end]]></content> 9 <tabTrigger>cla</tabTrigger> 10 <scope>source.ruby</scope> 11 <description>class .. < ParentClass .. initialize .. end</description> 12 </snippet>