Module: LHS::Configuration::ClassMethods

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

Instance Method Summary collapse

Instance Method Details

#configObject



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

def config
  LHS::Config.instance
end

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

Yields:



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

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