Class Resolv::DNS::Resource::DomainName
In: resolv.rb
Parent: Resource

Methods

Attributes

name  [R] 

Public Class methods

[Source]

# File resolv.rb, line 1441
        def self.decode_rdata(msg)
          return self.new(msg.get_name)
        end

[Source]

# File resolv.rb, line 1432
        def initialize(name)
          @name = name
        end

Public Instance methods

[Source]

# File resolv.rb, line 1437
        def encode_rdata(msg)
          msg.put_name(@name)
        end

[Validate]

ruby-doc.org is a community service provided by Happy Camper Studios, a Phoenix, Arizona, Ruby application development company.

Documentation content on ruby-doc.org is provided by remarkable members of the Ruby community.

For more information on the Ruby programming language, visit ruby-lang.org.

Want to help improve Ruby's API docs? See Ruby Documentation Guidelines.