Module: URI

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

Class Method Summary collapse

Class Method Details

.parserObject


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

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