Module: Helium::Configurable

Included in:
Web
Defined in:
lib/helium/configurable.rb

Defined Under Namespace

Classes: Configuration

Instance Method Summary collapse

Instance Method Details

#configurationObject Also known as: config



8
9
10
# File 'lib/helium/configurable.rb', line 8

def configuration
  @configuration ||= Configuration.new
end

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

Yields:



4
5
6
# File 'lib/helium/configurable.rb', line 4

def configure
  yield(configuration)
end