Method: Puppet::Settings::IniFile#write
- Defined in:
- lib/puppet/settings/ini_file.rb
#write(fh) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
79 80 81 82 83 84 85 86 |
# File 'lib/puppet/settings/ini_file.rb', line 79 def write(fh) fh.truncate(0) fh.rewind @lines.each do |line| line.write(fh) end fh.flush end |