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.
129 130 131 |
# File 'lib/crokus/ast.rb', line 129 def initialize type,name @type,@name=type,name end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
128 129 130 |
# File 'lib/crokus/ast.rb', line 128 def name @name end |
#type ⇒ Object
Returns the value of attribute type.
128 129 130 |
# File 'lib/crokus/ast.rb', line 128 def type @type end |