Class: AIA::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/aia/config.rb

Class Method Summary collapse

Class Method Details

.method_missing(method_name, *args, &block) ⇒ Object

Maintain backward compatibility by delegating to Base module



18
19
20
21
22
23
24
# File 'lib/aia/config.rb', line 18

def self.method_missing(method_name, *args, &block)
  if ConfigModules::Base.respond_to?(method_name)
    ConfigModules::Base.send(method_name, *args, &block)
  else
    super
  end
end

.respond_to_missing?(method_name, include_private = false) ⇒ Boolean



26
27
28
# File 'lib/aia/config.rb', line 26

def self.respond_to_missing?(method_name, include_private = false)
  ConfigModules::Base.respond_to?(method_name, include_private) || super
end

.setupObject

Delegate all functionality to the modular config system



13
14
15
# File 'lib/aia/config.rb', line 13

def self.setup
  ConfigModules::Base.setup
end