Module: Canzea
- Defined in:
- lib/canzea.rb,
lib/canzea/config.rb,
lib/canzea/version.rb,
lib/canzea/registry.rb,
lib/canzea/environment.rb
Constant Summary collapse
- VERSION =
"0.1.180"
Class Method Summary collapse
- .config ⇒ Object
-
.configure(opts = {}) ⇒ Object
Configure through hash.
Class Method Details
.config ⇒ Object
30 31 32 |
# File 'lib/canzea/config.rb', line 30 def self.config @config end |
.configure(opts = {}) ⇒ Object
Configure through hash
26 27 28 |
# File 'lib/canzea/config.rb', line 26 def self.configure(opts = {}) opts.each {|k,v| @config[k.to_sym] = v if @valid_config_keys.include? k.to_sym} end |