Skip to content

Commit

Permalink
Update lib/uri/common.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Nobuyoshi Nakada <[email protected]>
  • Loading branch information
hsbt and nobu authored Aug 6, 2024
1 parent 884df86 commit b82842e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/uri/common.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def self.const_missing(const)
warn "URI::#{const} is obsolete. Use RFC2396_PARSER.regexp[#{const.inspect}] explicitly.", uplevel: 1 if $VERBOSE
RFC2396_PARSER.regexp[const]
else
raise NameError, "uninitialized constant URI::#{const}"
super
end
end

Expand Down

0 comments on commit b82842e

Please sign in to comment.