Class: Vertigo::Generic
- Defined in:
- lib/vertigo/ast_vertigo_rkgen.rb
Instance Attribute Summary collapse
-
#init ⇒ Object
Returns the value of attribute init.
-
#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, init = nil) ⇒ Generic
constructor
A new instance of Generic.
Methods inherited from AstNode
Constructor Details
#initialize(name = nil, type = nil, init = nil) ⇒ Generic
Returns a new instance of Generic.
57 58 59 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 57 def initialize name=nil,type=nil,init=nil @name,@type,@init=name,type,init end |
Instance Attribute Details
#init ⇒ Object
Returns the value of attribute init.
56 57 58 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 56 def init @init end |
#name ⇒ Object
Returns the value of attribute name.
56 57 58 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 56 def name @name end |
#type ⇒ Object
Returns the value of attribute type.
56 57 58 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 56 def type @type end |