Class: VHDL_TB::Root
Instance Attribute Summary collapse
-
#design_units ⇒ Object
Returns the value of attribute design_units.
Instance Method Summary collapse
- #<<(e) ⇒ Object
-
#initialize(design_units = []) ⇒ Root
constructor
A new instance of Root.
Constructor Details
#initialize(design_units = []) ⇒ Root
Returns a new instance of Root.
7 8 9 |
# File 'lib/ast.rb', line 7 def initialize design_units=[] @design_units=design_units end |
Instance Attribute Details
#design_units ⇒ Object
Returns the value of attribute design_units.
6 7 8 |
# File 'lib/ast.rb', line 6 def design_units @design_units end |
Instance Method Details
#<<(e) ⇒ Object
11 12 13 |
# File 'lib/ast.rb', line 11 def << e @design_units << e end |