Class: Vertigo::RecordItem
- Defined in:
- lib/vertigo/ast_vertigo_rkgen.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#type ⇒ Object
Returns the value of attribute type.
Attributes inherited from AstNode
Instance Method Summary collapse
-
#initialize(name = nil, type = nil) ⇒ RecordItem
constructor
A new instance of RecordItem.
Methods inherited from AstNode
Constructor Details
#initialize(name = nil, type = nil) ⇒ RecordItem
Returns a new instance of RecordItem.
372 373 374 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 372 def initialize name=nil,type=nil @name,@type=name,type end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
371 372 373 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 371 def name @name end |
#type ⇒ Object
Returns the value of attribute type.
371 372 373 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 371 def type @type end |