U:RDoc::AnyMethod[iI"hostname=:EFI"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::BlankLineo; ; [I"6This method is same as URI::Generic#host= except ;TI"+the argument can be bare IPv6 address.;T@o; ; [ I"u = URI("http://foo/bar") ;TI"4p u.to_s #=> "http://foo/bar" ;TI"u.hostname = "::1" ;TI"5p u.to_s #=> "http://[::1]/bar";T@o; ; [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