lib/docrb/lib/docrb/resolvable.rb
def resolve_ref(ref)
      path = ref
             .slice(:class_path, :target, :name)
             .values
             .flatten
             .compact
      return resolve_qualified(path.join("::")) if path.length > 1

      resolve(path[0])
    end
# Resolves a provided ref by creating its path string representation and
# calling #resolve_qualified
#
# ref - Hash representing the reference being resolved.
#
# Returns the object under the provided reference, or nil.
Resolves a provided ref by creating its path string representation and
calling #resolve_qualified

Hash representing the reference being resolved.

Returns the object under the provided reference, or nil.
Resolves a provided ref by creating its path string representation and calling #resolve_qualified Hash representing the reference being resolved . Returns the object under the provided reference or nil .
def resolve_ref(ref)
      path = ref
             .slice(:class_path, :target, :name)
             .values
             .flatten
             .compact
      return resolve_qualified(path.join("::")) if path.length > 1
      resolve(path[0])
    end
def resolve_ref ( ref ) path = ref . slice ( :class_path , :target , :name ) . values . flatten . compact return resolve_qualified ( path . join ( "::" ) ) if path . length > 1 resolve ( path [ 0 ] ) end
Resolves a provided ref by creating its path string representation and
calling #resolve_qualified
Resolves a provided ref by creating its path string representation and calling #resolve_qualified
ref