Method: Object#encode_uri

Defined in:
opal/browser/utils.rb

#encode_uriString

Encode as URI.

Returns:

  • (String)

    the #to_s encoded for usage as URI



10
11
12
# File 'opal/browser/utils.rb', line 10

def encode_uri
  to_s.encode_uri
end