AlkantarClanX12
Current Path : /opt/alt/ruby18/share/ri/1.8/system/URI/Escape/ |
Current File : //opt/alt/ruby18/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