class Maps::TreeNode

Attributes

elements[R]
offset[R]
text[R]

Public Class Methods

new(text, offset, elements = []) click to toggle source
# File lib/rookout/processor/paths/canopy/maps.rb, line 9
def initialize(text, offset, elements = [])
  @text = text
  @offset = offset
  @elements = elements
end

Public Instance Methods

each(&block) click to toggle source
# File lib/rookout/processor/paths/canopy/maps.rb, line 15
def each(&block)
  @elements.each(&block)
end