Module: SimpleConfig

Defined in:
lib/simple_config.rb,
lib/simple_config/railtie.rb,
lib/simple_config/version.rb

Defined Under Namespace

Modules: Version Classes: Config, Manager, Railtie, YAMLParser

Constant Summary collapse

VERSION =
Version::STRING

Class Method Summary collapse

Class Method Details

.default_managerObject



11
12
13
# File 'lib/simple_config.rb', line 11

def default_manager
  @default_manager ||= Manager.new
end

.for(config_name, &block) ⇒ Object



7
8
9
# File 'lib/simple_config.rb', line 7

def for(config_name, &block)
  default_manager.for(config_name, &block)
end