Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
self
/
root
/
proc
/
self
/
root
/
opt
/
ruby-2.7
/
usr
/
share
/
ri
/
2.7.0
/
system
/
URI
/
Escape
/
//proc/self/root/proc/self/root/opt/ruby-2.7/usr/share/ri/2.7.0/system/URI/Escape/escape-i.ri
U:RDoc::AnyMethod[iI"escape:ETI"URI::Escape#escape;TF:publico:RDoc::Markup::Document:@parts[S:RDoc::Markup::Heading: leveli: textI" Synopsis;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I" URI.escape(str [, unsafe]) ;T:@format0S; ;i;I" Args;T@ o:RDoc::Markup::List: @type: NOTE:@items[o:RDoc::Markup::ListItem:@label[I" +str+;T; [o:RDoc::Markup::Paragraph; [I"String to replaces in.;To;;[I" +unsafe+;T; [o;; [I"GRegexp that matches all symbols that must be replaced with codes. ;TI"&By default uses <tt>UNSAFE</tt>. ;TI"CWhen this argument is a String, it represents a character set.;T@ S; ;i;I"Description;T@ o;; [I"DEscapes the string, replacing all unsafe characters with codes.;T@ o;; [I"BThis method is obsolete and should not be used. Instead, use ;TI"FCGI.escape, URI.encode_www_form or URI.encode_www_form_component ;TI")depending on your specific use case.;T@ S; ;i;I" Usage;T@ o;; [I"require 'uri' ;TI" ;TI":enc_uri = URI.escape("http://example.com/?a=\11\15") ;TI")# => "http://example.com/?a=%09%0D" ;TI" ;TI"URI.unescape(enc_uri) ;TI"'# => "http://example.com/?a=\t\r" ;TI" ;TI"URI.escape("@?@!", "!?") ;TI"# => "@%3F@%21";T;0: @fileI"lib/uri/common.rb;T:0@omit_headings_from_table_of_contents_below000[[I"encode;To;; [ ;@=;0I"(*arg);T@=FI"Escape;TcRDoc::NormalModule00