Class: Interscript::DSL::Stage
- Defined in:
- lib/interscript/dsl/stage.rb
Instance Attribute Summary
Attributes inherited from Group
Instance Method Summary collapse
-
#initialize(name = :main, &block) ⇒ Stage
constructor
A new instance of Stage.
Methods inherited from Group
#downcase, #parallel, #run, #sub, #upcase
Methods included from Items
#any, #capture, #map, #maybe, #maybe_some, #method_missing, #ref, #some, #stage
Methods included from SymbolMM
Constructor Details
#initialize(name = :main, &block) ⇒ Stage
Returns a new instance of Stage.
2 3 4 5 |
# File 'lib/interscript/dsl/stage.rb', line 2 def initialize(name = :main, &block) @node = Interscript::Node::Stage.new(name) self.instance_exec(&block) end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Interscript::DSL::Items