John Doe wrote in post #988311:
> given
>  => #<Dnsruby::Name: www.nbc.com.>

Is that output from irb? irb uses the "inspect" method to display a 
value.

> what's the proper way of getting to "www.nbc.com."?

Depends entirely on the class in question. Look at the documentation for 
Dnsruby::Name, or at the source code, to see what methods are available.

-- 
Posted via http://www.ruby-forum.com/.