Module: PinballWizard::DSL
- Defined in:
- lib/pinball_wizard/dsl.rb
Defined Under Namespace
Classes: Builder
Class Method Summary collapse
Class Method Details
.build(config = PinballWizard.configuration, &block) ⇒ Object
5 6 7 8 9 |
# File 'lib/pinball_wizard/dsl.rb', line 5 def self.build(config = PinballWizard.configuration, &block) builder = Builder.new(config) builder.instance_eval(&block) builder end |