vendor/bundle/ruby/2.7.0/gems/dnsruby-1.61.5/lib/dnsruby/name.rb
#  returns the domain name as a string.
# 
#  The domain name doesn't have a trailing dot even if the name object is
#  absolute.
# 
#  Example :
# 
#    p Resolv::Name.create("x.y.z.").to_s #=> "x.y.z"
#    p Resolv::Name.create("x.y.z").to_s #=> "x.y.z"
# 
returns the domain name as a string.
The domain name doesn't have a trailing dot even if the name object is
absolute.

Example .


returns the domain name as a string . The domain name doesn ' t have a trailing dot even if the name object is absolute . Example .
def to_s(include_absolute=false)
      ret = to_str(@labels)
      if (@absolute && include_absolute)
        ret += "."
      end
      return ret
    end
def to_s ( include_absolute = false ) ret = to_str ( @labels ) if ( @absolute && include_absolute ) ret += "." end return ret end
returns the domain name as a string.
returns the domain name as a string .
include_absolute
<not_specific>