Method: Bcpm::Config.write_config
- Defined in:
- lib/bcpm/config.rb
.write_config ⇒ Object
Writes the configuration to the YAML file.
38 39 40 |
# File 'lib/bcpm/config.rb', line 38 def self.write_config File.open(config_file, 'wb') { |f| YAML.dump config, f } end |