Repository URL to install this package:
|
Version:
2.2.2-1 ▾
|
U:RDoc::NormalModule[iI"URI:EF@0o:RDoc::Markup::Document:@parts[o;;[ :
@fileI"lib/open-uri.rb;T:0@omit_headings_from_table_of_contents_below0o;;[o:RDoc::Markup::Paragraph;[I"NURI is a module providing classes to handle Uniform Resource Identifiers ;TI"2(RFC2396[http://tools.ietf.org/html/rfc2396]);To:RDoc::Markup::BlankLine S:RDoc::Markup::Heading:
leveli: textI"
Features;T@o:RDoc::Markup::List:
@type:BULLET:@items[o:RDoc::Markup::ListItem:@label0;[o;;[I"&Uniform handling of handling URIs;To;;0;[o;;[I"0Flexibility to introduce custom URI schemes;To;;0;[o;;[I"NFlexibility to have an alternate URI::Parser (or just different patterns ;TI"and regexp's);T@S;
;i;I"Basic example;T@o:RDoc::Markup::Verbatim;[I"require 'uri'
;TI"
;TI"Euri = URI("http://foo.com/posts?id=30&limit=5#time=1305298413")
;TI"&#=> #<URI::HTTP:0x00000000b14880
;TI"C URL:http://foo.com/posts?id=30&limit=5#time=1305298413>
;TI"uri.scheme
;TI"#=> "http"
;TI"uri.host
;TI"#=> "foo.com"
;TI"uri.path
;TI"#=> "/posts"
;TI"uri.query
;TI"#=> "id=30&limit=5"
;TI"uri.fragment
;TI"#=> "time=1305298413"
;TI"
;TI"uri.to_s
;TI">#=> "http://foo.com/posts?id=30&limit=5#time=1305298413"
;T:@format0S;
;i;I"Adding custom URIs;T@o;;[I"module URI
;TI" class RSYNC < Generic
;TI" DEFAULT_PORT = 873
;TI" end
;TI"" @@schemes['RSYNC'] = RSYNC
;TI" end
;TI"#=> URI::RSYNC
;TI"
;TI"URI.scheme_list
;TI"C#=> {"FTP"=>URI::FTP, "HTTP"=>URI::HTTP, "HTTPS"=>URI::HTTPS,
;TI"I "LDAP"=>URI::LDAP, "LDAPS"=>URI::LDAPS, "MAILTO"=>URI::MailTo,
;TI" "RSYNC"=>URI::RSYNC}
;TI"
;TI"(uri = URI("rsync://rsync.foo.com")
;TI"B#=> #<URI::RSYNC:0x00000000f648c8 URL:rsync://rsync.foo.com>
;T;0S;
;i;I"RFC References;T@o;;[I"EA good place to view an RFC spec is http://www.ietf.org/rfc.html;T@o;;[I")Here is a list of all related RFC's.;To;;;;[
o;;0;[o;;[I".RFC822[http://tools.ietf.org/html/rfc822];To;;0;[o;;[I"0RFC1738[http://tools.ietf.org/html/rfc1738];To;;0;[o;;[I"0RFC2255[http://tools.ietf.org/html/rfc2255];To;;0;[o;;[I"0RFC2368[http://tools.ietf.org/html/rfc2368];To;;0;[o;;[I"0RFC2373[http://tools.ietf.org/html/rfc2373];To;;0;[o;;[I"0RFC2396[http://tools.ietf.org/html/rfc2396];To;;0;[o;;[I"0RFC2732[http://tools.ietf.org/html/rfc2732];To;;0;[o;;[I"0RFC3986[http://tools.ietf.org/html/rfc3986];T@S;
;i;I"Class tree;T@o;;;;[o;;0;[o;;[I"%URI::Generic (in uri/generic.rb);To;;;;[ o;;0;[o;;[I"URI::FTP - (in uri/ftp.rb);To;;0;[o;;[I"!URI::HTTP - (in uri/http.rb);To;;;;[o;;0;[o;;[I"#URI::HTTPS - (in uri/https.rb);To;;0;[o;;[I"!URI::LDAP - (in uri/ldap.rb);To;;;;[o;;0;[o;;[I"#URI::LDAPS - (in uri/ldaps.rb);To;;0;[o;;[I"%URI::MailTo - (in uri/mailto.rb);To;;0;[o;;[I"%URI::Parser - (in uri/common.rb);To;;0;[o;;[I"%URI::REGEXP - (in uri/common.rb);To;;;;[o;;0;[o;;[I".URI::REGEXP::PATTERN - (in uri/common.rb);To;;0;[o;;[I"#URI::Util - (in uri/common.rb);To;;0;[o;;[I"%URI::Escape - (in uri/common.rb);To;;0;[o;;[I"$URI::Error - (in uri/common.rb);To;;;;[o;;0;[o;;[I".URI::InvalidURIError - (in uri/common.rb);To;;0;[o;;[I"4URI::InvalidComponentError - (in uri/common.rb);To;;0;[o;;[I"*URI::BadURIError - (in uri/common.rb);T@S;
;i;I"Copyright Info;T@o;;: NOTE;[ o;;[I"Author;T;[o;;[I"'Akira Yamada <akira@ruby-lang.org>;To;;[I"Documentation;T;[o;;[I"(Akira Yamada <akira@ruby-lang.org> ;TI"(Dmitry V. Sabanin <sdmitry@lrn.ru> ;TI",Vincent Batts <vbatts@hashbangbash.com>;To;;[I"License;T;[o;;[I";Copyright (c) 2001 akira yamada <akira@ruby-lang.org> ;TI"JYou can redistribute it and/or modify it under the same term as Ruby.;To;;[I"
Revision;T;[o;;[I"4$Id: uri.rb 48243 2014-11-03 00:33:44Z naruse $;T; I"lib/uri.rb;T;
0o;;[ ; I"lib/uri/common.rb;T;
0o;;[ ; I"lib/uri/ftp.rb;T;
0o;;[ ; I"lib/uri/generic.rb;T;
0o;;[ ; I"lib/uri/http.rb;T;
0o;;[ ; I"lib/uri/https.rb;T;
0o;;[ ; I"lib/uri/ldap.rb;T;
0o;;[ ; I"lib/uri/ldaps.rb;T;
0o;;[ ; I"lib/uri/mailto.rb;T;
0o;;[ ; I"lib/uri/rfc2396_parser.rb;T;
0o;;[ ; I"lib/uri/rfc3986_parser.rb;T;
0; 0;
0[ [ U:RDoc::Constant[i I"REGEXP;FI"URI::REGEXP;F00o;;[ ; @;
0@@cRDoc::NormalModule0U;[i I"Parser;FI"URI::Parser;F00o;;[ ; @;
0@@@&0U;[i I"RFC3986_PARSER;FI"URI::RFC3986_PARSER;F00o;;[ ; @;
0@@@&0U;[i I"DEFAULT_PARSER;FI"URI::DEFAULT_PARSER;F00o;;[o;;[I"URI::Parser.new;T; @;
0@@@&0[[I"REGEXP;To;;[ ; @;
0I"lib/uri/common.rb;T[[I"
class;T[[:public[[I"decode_www_form;F@A[I"decode_www_form_component;F@A[I"encode_www_form;F@A[I"encode_www_form_component;F@A[I"extract;F@A[I" join;F@A[I"
parse;F@A[I"regexp;F@A[I"scheme_list;F@A[I"
split;F@A[:protected[ [:private[ [I"
instance;T[[;[ [;[ [;[ [[I"Escape;To;;[ ; @;
0@A[U:RDoc::Context::Section[i 0o;;[ ; 0;
0[@I"lib/rss/parser.rb;TI")lib/rubygems/local_remote_options.rb;TI"#lib/rubygems/remote_fetcher.rb;TI"lib/rubygems/request.rb;T@ÿ@@@@@@@@@@I"lib/webrick/httprequest.rb;TI"lib/xmlrpc/client.rb;T@cRDoc::TopLevel