[ruby/uri] Fix a typo

https://github.com/ruby/uri/commit/b636e83d99

Co-authored-by: Olle Jonsson <olle.jonsson@gmail.com>
This commit is contained in:
Nobuyoshi Nakada 2025-06-26 10:33:05 +09:00 committed by git
parent 228cc794f5
commit 4eba511c1b

View File

@ -115,7 +115,7 @@ module URI
def register(name, klass)
unless scheme = escape(name)
raise ArgumentError, "invalid characater as scheme - #{name}"
raise ArgumentError, "invalid character as scheme - #{name}"
end
const_set(scheme, klass)
end