Module: Piola::Uri
- Defined in:
- lib/piola/uri.rb
Instance Method Summary collapse
Instance Method Details
#uri_escape ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/piola/uri.rb', line 5 def uri_escape require 'uri' str = URI.escape(self) return str end |
#uri_unescape ⇒ Object
13 14 15 16 17 18 19 |
# File 'lib/piola/uri.rb', line 13 def uri_unescape require 'uri' str = URI.unescape(self) return str end |