Module: Liquidum::Configurable

Included in:
Liquidum
Defined in:
lib/liquidum/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#configObject



60
61
62
# File 'lib/liquidum/configuration.rb', line 60

def config
  @config ||= Configuration.new
end

Instance Method Details

#configure {|config| ... } ⇒ Object Also known as: setup

Yields:



64
65
66
# File 'lib/liquidum/configuration.rb', line 64

def configure
  yield(config)
end

#reset_config!Object



70
71
72
# File 'lib/liquidum/configuration.rb', line 70

def reset_config!
  @config = Configuration.new
end