Pattern: Use of URI::Parser.new
instead of URI::DEFAULT_PARSER
Issue: -
This rule identifies places where URI::Parser.new
can be replaced by URI::DEFAULT_PARSER
.
# bad
URI::Parser.new
# good
URI::DEFAULT_PARSER
Pattern: Use of URI::Parser.new
instead of URI::DEFAULT_PARSER
Issue: -
This rule identifies places where URI::Parser.new
can be replaced by URI::DEFAULT_PARSER
.
# bad
URI::Parser.new
# good
URI::DEFAULT_PARSER