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