Class: RubyRTL::CircuitPart
Direct Known Subclasses
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#label ⇒ Object
Returns the value of attribute label.
Attributes inherited from Ast
Instance Method Summary collapse
-
#initialize(label, body) ⇒ CircuitPart
constructor
A new instance of CircuitPart.
Methods inherited from Ast
Constructor Details
#initialize(label, body) ⇒ CircuitPart
Returns a new instance of CircuitPart.
78 79 80 |
# File 'lib/ruby_rtl/ast.rb', line 78 def initialize label,body @label,@body=label,body end |
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body.
77 78 79 |
# File 'lib/ruby_rtl/ast.rb', line 77 def body @body end |
#label ⇒ Object
Returns the value of attribute label.
77 78 79 |
# File 'lib/ruby_rtl/ast.rb', line 77 def label @label end |