Class: Crokus::ArrayOf
Instance Attribute Summary collapse
-
#size ⇒ Object
Returns the value of attribute size.
Attributes inherited from Type
Instance Method Summary collapse
-
#initialize(t, size = nil) ⇒ ArrayOf
constructor
A new instance of ArrayOf.
Methods inherited from Ast
Constructor Details
#initialize(t, size = nil) ⇒ ArrayOf
Returns a new instance of ArrayOf.
86 87 88 89 |
# File 'lib/crokus/ast.rb', line 86 def initialize t,size=nil super(t) @size=size end |
Instance Attribute Details
#size ⇒ Object
Returns the value of attribute size.
85 86 87 |
# File 'lib/crokus/ast.rb', line 85 def size @size end |