Class: Vertigo::ArrayType
- Defined in:
- lib/vertigo/ast_vertigo_rkgen.rb
Instance Attribute Summary collapse
-
#discrete_ranges ⇒ Object
Returns the value of attribute discrete_ranges.
-
#name ⇒ Object
Returns the value of attribute name.
Attributes inherited from AstNode
Instance Method Summary collapse
-
#initialize(name = nil, discrete_ranges = []) ⇒ ArrayType
constructor
A new instance of ArrayType.
Methods inherited from AstNode
Constructor Details
#initialize(name = nil, discrete_ranges = []) ⇒ ArrayType
Returns a new instance of ArrayType.
442 443 444 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 442 def initialize name=nil,discrete_ranges=[] @name,@discrete_ranges=name,discrete_ranges end |
Instance Attribute Details
#discrete_ranges ⇒ Object
Returns the value of attribute discrete_ranges.
441 442 443 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 441 def discrete_ranges @discrete_ranges end |
#name ⇒ Object
Returns the value of attribute name.
441 442 443 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 441 def name @name end |