Class: Ruby3BackwardCompatibility::URICompatibility::SchemeProxy
- Inherits:
-
Object
- Object
- Ruby3BackwardCompatibility::URICompatibility::SchemeProxy
- Defined in:
- lib/ruby3_backward_compatibility/compatibility/uri.rb
Instance Method Summary collapse
Instance Method Details
#[](scheme) ⇒ Object
6 7 8 |
# File 'lib/ruby3_backward_compatibility/compatibility/uri.rb', line 6 def [](scheme) URI.scheme_list[scheme] end |
#[]=(scheme, value) ⇒ Object
10 11 12 |
# File 'lib/ruby3_backward_compatibility/compatibility/uri.rb', line 10 def []=(scheme, value) URI.register_scheme(scheme, value) end |