diff options
Diffstat (limited to 'lib/uri/ldaps.rb')
| -rw-r--r-- | lib/uri/ldaps.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/uri/ldaps.rb b/lib/uri/ldaps.rb index d03f8efa2d..58228f5894 100644 --- a/lib/uri/ldaps.rb +++ b/lib/uri/ldaps.rb @@ -6,7 +6,7 @@ # See URI for general documentation # -require 'uri/ldap' +require_relative 'ldap' module URI @@ -17,5 +17,6 @@ module URI # A Default port of 636 for URI::LDAPS DEFAULT_PORT = 636 end - @@schemes['LDAPS'] = LDAPS + + register_scheme 'LDAPS', LDAPS end |
