class Bundler::URI::Generic

def parser


Unless a Bundler::URI::Parser is defined, DEFAULT_PARSER is used.

Returns the parser to be used.
def parser
  if !defined?(@parser) || !@parser
    DEFAULT_PARSER
  else
    @parser || DEFAULT_PARSER
  end
end