JezK
Edit File: hostname%3d-i.ri
U:RDoc::AnyMethod[iI"hostname=:ETI"URI::Generic#hostname=;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"Sset the host part of the URI as the argument with brackets for IPv6 addresses.;To:RDoc::Markup::BlankLine o; ; [I"6This method is same as URI::Generic#host= except ;TI"+the argument can be bare IPv6 address.;T@o:RDoc::Markup::Verbatim; [ I"u = URI("http://foo/bar") ;TI"4p u.to_s #=> "http://foo/bar" ;TI"u.hostname = "::1" ;TI"6p u.to_s #=> "http://[::1]/bar" ;T:@format0o; ; [I")If the argument seems IPv6 address, ;TI"it is wrapped by brackets.;T: @fileI"lib/uri/generic.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(v);T@FI"Generic;TcRDoc::NormalClass00