Skip to content

Commit b636e83

Browse files
nobuolleolleolle
andauthored
Fix a typo
Co-authored-by: Olle Jonsson <[email protected]>
1 parent 5531d42 commit b636e83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/uri/common.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def find(name)
115115

116116
def register(name, klass)
117117
unless scheme = escape(name)
118-
raise ArgumentError, "invalid characater as scheme - #{name}"
118+
raise ArgumentError, "invalid character as scheme - #{name}"
119119
end
120120
const_set(scheme, klass)
121121
end

0 commit comments

Comments
 (0)