Method: Waw::Config#merge_file
- Defined in:
- lib/waw/config.rb
#merge_file(config_file) ⇒ Object
Merges the configuration with a given configuration file
104 105 106 107 |
# File 'lib/waw/config.rb', line 104 def merge_file(config_file) raise ArgumentError, "Config file does not exists" unless File.exists?(config_file) merge File.read(config_file) end |