Class: XRay::JS::ForConditionElement

Inherits:
Element
  • Object
show all
Defined in:
lib/js/struct.rb

Instance Attribute Summary collapse

Attributes inherited from Element

#left, #right, #type

Instance Method Summary collapse

Methods inherited from Element

#contains?, #position, #text

Constructor Details

#initialize(type, first, second, third, pos) ⇒ ForConditionElement

Returns a new instance of ForConditionElement.



171
172
173
174
# File 'lib/js/struct.rb', line 171

def initialize(type, first, second, third, pos)
  super type, first, second
  @third = third
end

Instance Attribute Details

#thirdObject (readonly)

Returns the value of attribute third.



167
168
169
# File 'lib/js/struct.rb', line 167

def third
  @third
end