Method: LibGems::ConfigFile#write
- Defined in:
- lib/libgems/config_file.rb
#write ⇒ Object
Writes out this config file, replacing its source.
314 315 316 317 318 |
# File 'lib/libgems/config_file.rb', line 314 def write open config_file_name, 'w' do |io| io.write to_yaml end end |