123456789_123456789_123456789_123456789_123456789_

Class: Resolv::DNS::Resource::DomainName

Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Subclasses:
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Instance Chain:
Inherits: Resolv::DNS::Resource
Defined in: lib/resolv.rb

Overview

Domain Name resource abstract class.

Class Method Summary

Instance Attribute Summary

  • #name readonly

    The name of this DomainName.

::Resolv::DNS::Resource - Inherited

#ttl

Remaining Time To Live for this ::Resolv::DNS::Resource.

Constructor Details

.new(name) ⇒ DomainName

Creates a new DomainName from #name.

[ GitHub ]

  
# File 'lib/resolv.rb', line 1748

def initialize(name)
  @name = name
end

Instance Attribute Details

#name (readonly)

The name of this DomainName.

[ GitHub ]

  
# File 'lib/resolv.rb', line 1755

attr_reader :name