Class: Object
- Inherits:
- BasicObject
- Defined in:
- opal/browser/utils.rb
Instance Method Summary collapse
-
#encode_uri ⇒ String
deprecated
Deprecated.
Please use FormData.encode_uri
-
#encode_uri_component ⇒ String
deprecated
Deprecated.
Please use FormData.encode
Instance Method Details
permalink #encode_uri ⇒ String
Deprecated.
Please use FormData.encode_uri
Encode as URI.
82 83 84 85 |
# File 'opal/browser/utils.rb', line 82 def encode_uri warn "opal-browser: Object#encode_uri is deprecated. Please use FormData.encode_uri" FormData.encode_uri(to_s) end |
permalink #encode_uri_component ⇒ String
Deprecated.
Please use FormData.encode
Encode as URI component.
91 92 93 94 |
# File 'opal/browser/utils.rb', line 91 def encode_uri_component warn "opal-browser: Object#encode_uri_component is deprecated. Please use FormData.encode" FormData.encode(to_s) end |