Module: URI

Defined in:
lib/active_support/core_ext/uri.rb

Class Method Summary collapse

Class Method Details

.parserObject



26
27
28
# File 'lib/active_support/core_ext/uri.rb', line 26

def parser
  @parser ||= URI.const_defined?(:Parser) ? URI::Parser.new : URI
end