summaryrefslogtreecommitdiff
path: root/lib/uri/ws.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/uri/ws.rb')
-rw-r--r--lib/uri/ws.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/uri/ws.rb b/lib/uri/ws.rb
index 2bfee59003..ff3c554484 100644
--- a/lib/uri/ws.rb
+++ b/lib/uri/ws.rb
@@ -79,6 +79,5 @@ module URI
end
end
- @@schemes['WS'] = WS
-
+ register_scheme 'WS', WS
end