Module: Kernel
- Defined in:
- lib/flux.rb
Instance Method Summary collapse
Instance Method Details
#use(mod, options = {}) ⇒ Object
54 55 56 57 58 59 |
# File 'lib/flux.rb', line 54 def use(mod, = {}) (Flux.environment[mod.to_s] ||= {}). merge! Hash[*.map { |k, v| [k.to_s, v] }.flatten] end |