Sha256: 49b9e0c0ce81681dc0ee8080bb977a8fa0900deb30cc58eb5bf2eb1bcbd858e8
Contents?: true
Size: 470 Bytes
Versions: 36
Compression:
Stored size: 470 Bytes
Contents
class ComplexConfig::Provider module Shortcuts 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 end end
Version data entries
36 entries across 36 versions & 1 rubygems