Class: Spool::DSL
- Inherits:
-
Object
- Object
- Spool::DSL
- Defined in:
- lib/spool/dsl.rb
Instance Attribute Summary collapse
-
#configuration ⇒ Object
readonly
Returns the value of attribute configuration.
Class Method Summary collapse
Instance Attribute Details
#configuration ⇒ Object (readonly)
Returns the value of attribute configuration.
9 10 11 |
# File 'lib/spool/dsl.rb', line 9 def configuration @configuration end |
Class Method Details
.configure(filename = nil, &block) ⇒ Object
4 5 6 7 |
# File 'lib/spool/dsl.rb', line 4 def self.configure(filename=nil, &block) dsl = new filename, &block dsl.configuration end |