Sha256: b4331fddb8bd0df3af923daed38ad0d3fbb8cfd31d82a6a91ebc7de9b6993f33
Contents?: true
Size: 376 Bytes
Versions: 6
Compression:
Stored size: 376 Bytes
Contents
require 'complex_config' def complex_config_with_env(name = nil, env = ComplexConfig::Provider.env) if name ComplexConfig::Provider[name][env.to_s] else ComplexConfig::Provider.proxy(env.to_s) end end alias cc complex_config_with_env def complex_config(name = nil) if name ComplexConfig::Provider[name] else ComplexConfig::Provider.proxy end end
Version data entries
6 entries across 6 versions & 1 rubygems