class Conf

Conf is only to be used via constructor or method Dependency Injection. Doing otherwise will make your code difficult to test. You can mock this class out simply by using an instance of Confstruct:Configuration

Public Class Methods

method_missing(method, *args, &_block) click to toggle source
# File lib/core/conf.rb, line 28
def self.method_missing(method, *args, &_block)
  instance.send(method, *args)
end
new() click to toggle source
Calls superclass method
# File lib/core/conf.rb, line 18
def initialize
  conf_files = get_conf_paths(".radial.yml")
  conf = load_config_files(conf_files)
  super(conf)
end
respond_to?(symbol, include_all = false) click to toggle source
Calls superclass method
# File lib/core/conf.rb, line 24
def self.respond_to?(symbol, include_all = false)
  super || instance.respond_to?(symbol, include_all)
end