Class: Crokus::Type
Overview
.….… types .….……
Direct Known Subclasses
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#precisions ⇒ Object
Returns the value of attribute precisions.
Instance Method Summary collapse
-
#initialize(name) ⇒ Type
constructor
A new instance of Type.
Methods inherited from Ast
Constructor Details
#initialize(name) ⇒ Type
Returns a new instance of Type.
59 60 61 62 |
# File 'lib/crokus/ast.rb', line 59 def initialize name @precisions=[] @name=name end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
58 59 60 |
# File 'lib/crokus/ast.rb', line 58 def name @name end |
#precisions ⇒ Object
Returns the value of attribute precisions.
58 59 60 |
# File 'lib/crokus/ast.rb', line 58 def precisions @precisions end |