Class: Hash
Class Method Summary collapse
-
.decode_uri(string) ⇒ Hash
deprecated
Deprecated.
Please use FormData.parse_query
Instance Method Summary collapse
-
#encode_uri ⇒ String
deprecated
Deprecated.
Please use FormData.build_query
Class Method Details
.decode_uri(string) ⇒ Hash
Deprecated.
Please use FormData.parse_query
Decode an URL encoded form to a Hash.
141 142 143 144 |
# File 'opal/browser/utils.rb', line 141 def self.decode_uri(string) warn "opal-browser: Hash.decode_uri is deprecated. Please use FormData.parse_query" FormData.parse_query(string) end |
Instance Method Details
#encode_uri ⇒ String
Deprecated.
Please use FormData.build_query
Encode the Hash to an URL form.
150 151 152 153 |
# File 'opal/browser/utils.rb', line 150 def encode_uri warn "opal-browser: Hash#encode_uri is deprecated. Please use FormData.build_query" FormData.build_query(self) end |