lib/treemap/tree_map.rb
def first
      node = self
      child = node.left
      while child
        node = child
        child = node.left
      end
      node
    end
# Returns the first node in this subtree.
Returns the first node in this subtree.
Returns the first node in this subtree .
def first
      node = self
      child = node.left
      while child
        node = child
        child = node.left
      end
      node
    end
def first node = self child = node . left while child node = child child = node . left end node end
Returns the first node in this subtree.
Returns the first node in this subtree .