U:RDoc::AnyMethod[iI"gethostname:ETI"Socket::gethostname;TT: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"Returns the hostname.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"$p Socket.gethostname #=> "hal" ;T: @format0o; ; [I"oNote that it is not guaranteed to be able to convert to IP address using gethostbyname, getaddrinfo, etc. ;TI">If you need local IP address, use Socket.ip_address_list.;T: @fileI"ext/socket/socket.c;T:0@omit_headings_from_table_of_contents_below0I"$Socket.gethostname => hostname ;T0[I"();T@FI" Socket;TcRDoc::NormalClass00