class Resolv::DNS::Resource::DomainName

Parent:
Resolv::DNS::Resource

Domain Name resource abstract class.

Attributes

name[R]

The name of this DomainName.

Public Class Methods

new(name) Show source
# File lib/resolv.rb, line 1795
def initialize(name)
  @name = name
end

Creates a new DomainName from name.

Ruby Core © 1993–2017 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.