# Resolv::DNS::Resource::DomainName (Class)

In: | resolv.rb
Parent: | Resource

## Methods

decode_rdata encode_rdata new

## Attributes

name | [R] |

## Public Class methods

new(name)

[Source]

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

decode_rdata(msg)

[Source]

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

## Public Instance methods

encode_rdata(msg)

[Source]

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

[Validate]