Class: Astrapi::ArrayOf

Inherits:
Type show all
Defined in:
lib/ast.rb

Instance Attribute Summary collapse

Attributes inherited from Type

#name

Instance Method Summary collapse

Methods inherited from Type

#==

Methods inherited from Ast

#accept

Constructor Details

#initialize(type) ⇒ ArrayOf

Returns a new instance of ArrayOf.



44
45
46
# File 'lib/ast.rb', line 44

def initialize type
  @type=type
end

Instance Attribute Details

#typeObject

Returns the value of attribute type.



43
44
45
# File 'lib/ast.rb', line 43

def type
  @type
end