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/RFC2396_Parser/new-c.ri
U:RDoc::AnyMethod[iI"new:ETI"&Bundler::URI::RFC2396_Parser::new;TT:publico:RDoc::Markup::Document:@parts[S:RDoc::Markup::Heading:
leveli:	textI"
Synopsis;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim;	[I"&Bundler::URI::Parser.new([opts])
;T:@format0S;
;i;I"	Args;T@
o:RDoc::Markup::Paragraph;	[	I";The constructor accepts a hash as options for parser. ;TI"BKeys of options are pattern names of Bundler::URI components ;TI"0and values of options are pattern strings. ;TI"?The constructor generates set of regexps for parsing URIs.;T@
o;;	[I"$You can use the following keys:;T@
o;;	[
I"<* :ESCAPED (Bundler::URI::PATTERN::ESCAPED in default)
;TI"B* :UNRESERVED (Bundler::URI::PATTERN::UNRESERVED in default)
;TI">* :DOMLABEL (Bundler::URI::PATTERN::DOMLABEL in default)
;TI">* :TOPLABEL (Bundler::URI::PATTERN::TOPLABEL in default)
;TI">* :HOSTNAME (Bundler::URI::PATTERN::HOSTNAME in default)
;T;0S;
;i;I"
Examples;T@
o;;	[I"Vp = Bundler::URI::Parser.new(:ESCAPED => "(?:%[a-fA-F0-9]{2}|%u[a-fA-F0-9]{4})")
;TI"`u = p.parse("http://example.jp/%uABCD") #=> #<Bundler::URI::HTTP http://example.jp/%uABCD>
;TI"IBundler::URI.parse(u.to_s) #=> raises Bundler::URI::InvalidURIError
;TI"
;TI"#s = "http://example.com/ABCD"
;TI"Gu1 = p.parse(s) #=> #<Bundler::URI::HTTP http://example.com/ABCD>
;TI"Ru2 = Bundler::URI.parse(s) #=> #<Bundler::URI::HTTP http://example.com/ABCD>
;TI"u1 == u2 #=> true
;TI"u1.eql?(u2) #=> false;T;0:
@fileI"5lib/bundler/vendor/uri/lib/uri/rfc2396_parser.rb;T:0@omit_headings_from_table_of_contents_below000[I"(opts = {});T@0FI"RFC2396_Parser;TcRDoc::NormalClass00