Class: RubyRTL::EnumType

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

Instance Attribute Summary collapse

Attributes inherited from Ast

#comments

Instance Method Summary collapse

Methods inherited from Ast

#accept

Constructor Details

#initialize(items) ⇒ EnumType

Returns a new instance of EnumType.



326
327
328
# File 'lib/ruby_rtl/ast.rb', line 326

def initialize items
  @items=items
end

Instance Attribute Details

#itemsObject

Returns the value of attribute items.



325
326
327
# File 'lib/ruby_rtl/ast.rb', line 325

def items
  @items
end