lib/docrb/lib/docrb/resolvable.rb
def resolve_qualified(path)
      components = path.split("::").map(&:to_sym)
      obj = root
      until components.empty?
        obj = obj.resolve(components.shift)
        break if obj.nil?
      end
      obj
    end
# Resolves a qualified path under the current container's context.
#
# path - Path of the object being resolved. Must be a string containing the
#        object name being searched, or a classpath for it (e.g.
#        `Foo::Bar::Baz`)
Resolves a qualified path under the current container's context.
path - Path of the object being resolved. Must be a string containing the
object name being searched, or a classpath for it
Resolves a qualified path under the current container ' s context . path - Path of the object being resolved . Must be a string containing the object name being searched or a classpath for it
def resolve_qualified(path)
      components = path.split("::").map(&:to_sym)
      obj = root
      until components.empty?
        obj = obj.resolve(components.shift)
        break if obj.nil?
      end
      obj
    end
def resolve_qualified ( path ) components = path . split ( "::" ) . map ( & :to_sym ) obj = root until components . empty? obj = obj . resolve ( components . shift ) break if obj . nil? end obj end
Resolves a qualified path under the current container's context.
Resolves a qualified path under the current container ' s context .
path