Module: CGI::Util

Included in:
CGI, CGI
Defined in:
opal/stdlib/cgi.rb

Instance Method Summary collapse

Instance Method Details

#escapeURIComponent(c) ⇒ Object



3
4
5
# File 'opal/stdlib/cgi.rb', line 3

def escapeURIComponent(c)
  `encodeURI(c)`
end

#unescapeURIComponent(c) ⇒ Object



7
8
9
# File 'opal/stdlib/cgi.rb', line 7

def unescapeURIComponent(c)
  `decodeURI(c)`
end