Module: MoonshotRails
- Defined in:
- lib/moonshot-rails.rb,
lib/moonshot-rails/config.rb,
lib/moonshot-rails/engine.rb,
lib/moonshot-rails/version.rb
Defined Under Namespace
Constant Summary collapse
- MissingConfig =
Class.new(StandardError)
- VERSION =
'0.0.15'
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
13 14 15 |
# File 'lib/moonshot-rails.rb', line 13 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
15 16 17 18 |
# File 'lib/moonshot-rails.rb', line 15 def configure self.configuration ||= Config.new yield(configuration) end |