Current Path : /usr/local/share/ri/1.8/system/URI/Escape/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/share/ri/1.8/system/URI/Escape/unescape-i.yaml |
--- !ruby/object:RI::MethodDescription aliases: - !ruby/object:RI::AliasName name: decode block_params: comment: - !ruby/struct:SM::Flow::H level: 2 text: Synopsis - !ruby/struct:SM::Flow::VERB body: " URI.unescape(str)\n" - !ruby/struct:SM::Flow::H level: 2 text: Args - !ruby/object:SM::Flow::LIST contents: - !ruby/struct:SM::Flow::LI label: "+str+:" body: Unescapes the string. type: :NOTE - !ruby/struct:SM::Flow::H level: 2 text: Usage - !ruby/struct:SM::Flow::VERB body: " require 'uri'\n\n enc_uri = URI.escape("http://example.com/?a=\\11\\15")\n p enc_uri\n # => "http://example.com/?a=%09%0D"\n\n p URI.unescape(enc_uri)\n # => "http://example.com/?a=\\t\\r"\n" full_name: URI::Escape#unescape is_singleton: false name: unescape params: (str) visibility: public