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