Method: Enroute::Export#config

Defined in:
lib/enroute/export.rb

#configObject



16
17
18
19
20
21
22
23
24
# File 'lib/enroute/export.rb', line 16

def config
  @config ||= if File.file?(config_path)
                ActiveSupport::HashWithIndifferentAccess.new(
                  YAML.load_file(config_path)
                )
              else
                {}
              end
end