def resolve(path, options = {})
      options = DEFAULT_FIND_OPTIONS.merge(options)
      path = ::Pathname.new(path)
      if options[:allow_absolute]
        path.cleanpath
      else
        ::Pathname.new(path.expand_path("/").to_s.gsub(%r{\A(/|\\)}, ""))
      end
    end
def resolve(path, options = {})
      options = DEFAULT_FIND_OPTIONS.merge(options)
      path = ::Pathname.new(path)
      if options[:allow_absolute]
        path.cleanpath
      else
        ::Pathname.new(path.expand_path("/").to_s.gsub(%r{\A(/|\\)}, ""))
      end
    end
"Resolves" a path.  This is resolved the exact same way that {#find}
 and {#find_all} are (with some slight variations), and so can be used
 as a sort of "name" for a certain path.

 @param path [::String, ::Pathname] The path to the file.
 @param options [{::Symbol => ::Object}] The options for resolution.
 @return [::Pathname] The resolved path.