Method: RHC::Config#use_config

Defined in:
lib/rhc/config.rb

#use_config(path) ⇒ Object



201
202
203
204
205
206
# File 'lib/rhc/config.rb', line 201

def use_config(path)
  path = File.expand_path(path)
  set_opts_config(path)
rescue => e
  raise ArgumentError, "Unable to read configuration file: #{e.message}", $!.backtrace
end