ruby / uri

URI is a module providing classes to handle Uniform Resource Identifiers
https://ruby.github.io/uri/
Other
86 stars 47 forks source link

Fix wrong error message for unknown constant on `URI` #126

Open Earlopain opened 2 weeks ago

Earlopain commented 2 weeks ago

const_get will raise if the constant is not found. Followup to https://github.com/ruby/uri/commit/1f3d3df02a0ff764e9a8a80c8d9e2c1e2d11bdce. Right now it blames URI::RFC2396_Parser::FOO