Class: Interscript::DSL::Stage

Inherits:
Group
  • Object
show all
Defined in:
lib/interscript/dsl/stage.rb

Instance Attribute Summary

Attributes inherited from Group

#node

Instance Method Summary collapse

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

#method_missing

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