Module: URI

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

Defined Under Namespace

Classes: Generic

Class Method Summary collapse

Class Method Details

.parserObject


21
22
23
24
25
26
27
# File 'lib/active_support/core_ext/uri.rb', line 21

def parser
  ActiveSupport::Deprecation.warn(<<-MSG.squish)
    URI.parser is deprecated and will be removed in Rails 6.2.
    Use `URI::DEFAULT_PARSER` instead.
  MSG
  URI::DEFAULT_PARSER
end