Class: Nebula::Dsl::Main
- Inherits:
-
Object
- Object
- Nebula::Dsl::Main
- Defined in:
- lib/nebula/dsl.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.evaluate(spec) ⇒ Object
4 5 6 7 8 |
# File 'lib/nebula/dsl.rb', line 4 def self.evaluate(spec) builder = new builder.instance_eval(spec) builder.to_definition end |