Class: Crokus::Typedef
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type, name) ⇒ Typedef
constructor
A new instance of Typedef.
Methods inherited from Ast
Constructor Details
#initialize(type, name) ⇒ Typedef
Returns a new instance of Typedef.
125 126 127 |
# File 'lib/crokus/ast.rb', line 125 def initialize type,name @type,@name=type,name end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
124 125 126 |
# File 'lib/crokus/ast.rb', line 124 def name @name end |
#type ⇒ Object
Returns the value of attribute type.
124 125 126 |
# File 'lib/crokus/ast.rb', line 124 def type @type end |