dotar/vim/snippets/ruby/fwrite.snippet
2011-11-17 16:00:49 -06:00

3 lines
69 B
Plaintext
Executable File

File.open(${1:filename}, '${2:w}') { |file| file << ${3:data} }
${4}