Module: URI
- Defined in:
- lib/escape_utils/url/uri.rb
Class Method Summary collapse
Class Method Details
.escape(s, unsafe = nil) ⇒ Object
5 6 7 |
# File 'lib/escape_utils/url/uri.rb', line 5 def self.escape(s, unsafe=nil) EscapeUtils.escape_uri(s.to_s) end |
.unescape(s) ⇒ Object
8 9 10 |
# File 'lib/escape_utils/url/uri.rb', line 8 def self.unescape(s) EscapeUtils.unescape_uri(s.to_s) end |