<snippet>
    <content><![CDATA[File.open(${1:"${2:path/to/file}"}${3/(^[rwab+]+$)|.*/(?1:, ")/}${3:w}${3/(^[rwab+]+$)|.*/(?1:")/}) { |${4:file}| $0 }]]></content>
    <tabTrigger>File</tabTrigger>
    <scope>source.ruby</scope>
    <description>File.open("..") { |file| .. }</description>
</snippet>
