lib/docrb/lib/docrb/resolvable.rb
def root
      obj = self
      obj = obj.parent while obj.parent
      obj
    end
# Returns the root object for the current container
Returns the root object for the current container
Returns the root object for the current container
def root
      obj = self
      obj = obj.parent while obj.parent
      obj
    end
def root obj = self obj = obj . parent while obj . parent obj end
Returns the root object for the current container
Returns the root object for the current container