Method: Qcmd::Configuration.open_file_for_appending
- Defined in:
- lib/qcmd/configuration.rb
.open_file_for_appending(fname) ⇒ Object
27 28 29 30 31 |
# File 'lib/qcmd/configuration.rb', line 27 def open_file_for_appending(fname) f = File.new(fname, 'a') f.sync = true f end |