HEX
Server: Apache
System: Windows NT MAGNETO-ARM 10.0 build 22000 (Windows 10) AMD64
User: Michel (0)
PHP: 7.4.7
Disabled: NONE
Upload Files
File: C:/Ruby27-x64/share/ri/2.7.0/system/Bundler/URI/Escape/escape-i.ri
U:RDoc::AnyMethod[iI"escape:ETI" Bundler::URI::Escape#escape;TF:publico:RDoc::Markup::Document:@parts[S:RDoc::Markup::Heading:
leveli:	textI"
Synopsis;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim;	[I")Bundler::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"XCGI.escape, Bundler::URI.encode_www_form or Bundler::URI.encode_www_form_component ;TI")depending on your specific use case.;T@
S;
;i;I"
Usage;T@
o;;	[I"*require 'bundler/vendor/uri/lib/uri'
;TI"
;TI"Cenc_uri = Bundler::URI.escape("http://example.com/?a=\11\15")
;TI")# => "http://example.com/?a=%09%0D"
;TI"
;TI"$Bundler::URI.unescape(enc_uri)
;TI"'# => "http://example.com/?a=\t\r"
;TI"
;TI"'Bundler::URI.escape("@?@!", "!?")
;TI"# => "@%3F@%21";T;0:
@fileI"-lib/bundler/vendor/uri/lib/uri/common.rb;T:0@omit_headings_from_table_of_contents_below000[[I"encode;To;;	[;@=;0I"(*arg);T@=FI"Escape;TcRDoc::NormalModule00