Module: URI

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

Defined Under Namespace

Classes: Generic

Class Method Summary collapse

Class Method Details

.parserObject


7
8
9
10
11
12
13
# File 'activesupport/lib/active_support/core_ext/uri.rb', line 7

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