Module: LHC::ConfigurationConcern::ClassMethods

Defined in:
lib/lhc/concerns/lhc/configuration_concern.rb

Instance Method Summary collapse

Instance Method Details

#configObject


10
11
12
# File 'lib/lhc/concerns/lhc/configuration_concern.rb', line 10

def config
  LHC::Config.instance
end

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

Yields:


14
15
16
17
# File 'lib/lhc/concerns/lhc/configuration_concern.rb', line 14

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