untitled.sublime-snippet (289B)
1 <snippet> 2 <content><![CDATA[opts.on( "-${1:o}", "--${2:long-option-name}"${3/^\s*$|(.*\S.*)/(?1:, )/}${3:String}, 3 "${4:Option description.}" ) do |${6:opt}| 4 $0 5 end]]></content> 6 <tabTrigger>opt</tabTrigger> 7 <scope>source.ruby</scope> 8 <description>option(..)</description> 9 </snippet>