D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Resolv
/
DNS
/
Name
/
Filename :
to_s-i.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: returns the domain name as a string. - !ruby/struct:SM::Flow::P body: The domain name doesn't have a trailing dot even if the name object is absolute. - !ruby/struct:SM::Flow::P body: "Example:" - !ruby/struct:SM::Flow::VERB body: " p Resolv::DNS::Name.create("x.y.z.").to_s #=> "x.y.z"\n p Resolv::DNS::Name.create("x.y.z").to_s #=> "x.y.z"\n" full_name: Resolv::DNS::Name#to_s is_singleton: false name: to_s params: () visibility: public