open(-path;or;url-w-)-do-doc-..-end-(ope).sublime-snippet (295B)
1 <snippet> 2 <content><![CDATA[open(${1:"${2:path/or/url/or/pipe}"}${3/(^[rwab+]+$)|.*/(?1:, ")/}${3:w}${3/(^[rwab+]+$)|.*/(?1:")/}) { |${4:io}| $0 }]]></content> 3 <tabTrigger>ope</tabTrigger> 4 <scope>source.ruby</scope> 5 <description>open("path/or/url", "w") { |io| .. }</description> 6 </snippet>