Sha256: 84d8fce6d39db7a017c4fcd3efa0b1c36c79fe365c8e8447a4101a76f2cadeb7

Contents?: true

Size: 236 Bytes

Versions: 9

Compression:

Stored size: 236 Bytes

Contents

require 'complex_config'

def complex_config_with_env(name, env = ComplexConfig::Provider.env)
  ComplexConfig::Provider[name][env.to_s]
end
alias cc complex_config_with_env

def complex_config(name)
  ComplexConfig::Provider[name]
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
complex_config-0.3.1 lib/complex_config/shortcuts.rb
complex_config-0.3.0 lib/complex_config/shortcuts.rb
complex_config-0.2.3 lib/complex_config/shortcuts.rb
complex_config-0.2.2 lib/complex_config/shortcuts.rb
complex_config-0.2.1 lib/complex_config/shortcuts.rb
complex_config-0.2.0 lib/complex_config/shortcuts.rb
complex_config-0.1.1 lib/complex_config/shortcuts.rb
complex_config-0.1.0 lib/complex_config/shortcuts.rb
complex_config-0.0.0 lib/complex_config/shortcuts.rb