Module: DHS::Configuration::ClassMethods

Defined in:
lib/dhs/concerns/configuration.rb

Instance Method Summary collapse

Instance Method Details

#configObject



10
11
12
# File 'lib/dhs/concerns/configuration.rb', line 10

def config
  DHS::Config.instance
end

#configure {|config| ... } ⇒ Object

Yields:



14
15
16
17
# File 'lib/dhs/concerns/configuration.rb', line 14

def configure
  DHS::Config.instance.reset
  yield config
end