Class: RubyRTL::CompDecl
Instance Attribute Summary collapse
-
#comp ⇒ Object
Returns the value of attribute comp.
-
#name ⇒ Object
Returns the value of attribute name.
Attributes inherited from Ast
Instance Method Summary collapse
-
#initialize(name, comp) ⇒ CompDecl
constructor
A new instance of CompDecl.
Methods inherited from Ast
Constructor Details
#initialize(name, comp) ⇒ CompDecl
Returns a new instance of CompDecl.
71 72 73 |
# File 'lib/ruby_rtl/ast.rb', line 71 def initialize name,comp @name,@comp=name,comp end |
Instance Attribute Details
#comp ⇒ Object
Returns the value of attribute comp.
70 71 72 |
# File 'lib/ruby_rtl/ast.rb', line 70 def comp @comp end |
#name ⇒ Object
Returns the value of attribute name.
70 71 72 |
# File 'lib/ruby_rtl/ast.rb', line 70 def name @name end |