Top Level Namespace
Defined Under Namespace
Instance Method Summary collapse
Instance Method Details
#load_config(file) ⇒ Object
20 21 22 23 24 25 26 |
# File 'lib/tc4r_base.rb', line 20 def load_config(file) if File.exist? File.(file) return Tc4r::Helpers.symbolize(YAML.load(File.read(File.(file)))) else abort ("Configuration file does not exist #{file}") end end |