Module: NeedleInAHaystack
- Defined in:
- lib/needle_in_a_haystack.rb
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.
25 26 27 |
# File 'lib/needle_in_a_haystack.rb', line 25 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
27 28 29 30 |
# File 'lib/needle_in_a_haystack.rb', line 27 def configure self.configuration ||= Configuration.new yield(configuration) end |