Module: Aqua::Config::ClassMethods
- Defined in:
- lib/aqua/object/config.rb
Instance Method Summary collapse
Instance Method Details
#_aqua_opts ⇒ Object
28 29 30 |
# File 'lib/aqua/object/config.rb', line 28 def _aqua_opts @_aqua_opts ||= _aqua_config_defaults end |
#configure_aqua(opts = {}) ⇒ Object
22 23 24 25 26 |
# File 'lib/aqua/object/config.rb', line 22 def configure_aqua(opts={}) database = opts.delete(:database) self::Storage.database = database @_aqua_opts = Mash.new( _aqua_opts ).merge!(opts) end |