Class: PinballWizard::DSL::Builder
- Inherits:
-
Object
- Object
- PinballWizard::DSL::Builder
- Defined in:
- lib/pinball_wizard/dsl.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
Instance Method Summary collapse
- #feature(name, *options) ⇒ Object
-
#initialize(config) ⇒ Builder
constructor
A new instance of Builder.
Constructor Details
#initialize(config) ⇒ Builder
Returns a new instance of Builder.
14 15 16 |
# File 'lib/pinball_wizard/dsl.rb', line 14 def initialize(config) @config = config end |
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
12 13 14 |
# File 'lib/pinball_wizard/dsl.rb', line 12 def config @config end |