Module: Helium::Configurable
- Included in:
- Web
- Defined in:
- lib/helium/configurable.rb
Defined Under Namespace
Classes: Configuration
Instance Method Summary collapse
- #configuration ⇒ Object (also: #config)
- #configure {|configuration| ... } ⇒ Object
Instance Method Details
#configuration ⇒ Object Also known as: config
8 9 10 |
# File 'lib/helium/configurable.rb', line 8 def configuration @configuration ||= Configuration.new end |
#configure {|configuration| ... } ⇒ Object
4 5 6 |
# File 'lib/helium/configurable.rb', line 4 def configure yield(configuration) end |