123456789_123456789_123456789_123456789_123456789_

Class: Resolv::DNS::Resource::HINFO

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

Overview

Host Information resource.

Class Method Summary

Instance Attribute Summary

  • #cpu readonly

    CPU architecture for this resource.

  • #os readonly

    Operating system for this resource.

::Resolv::DNS::Resource - Inherited

#ttl

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

Constructor Details

.new(cpu, os) ⇒ HINFO

Creates a new HINFO running #os on #cpu.

[ GitHub ]

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

def initialize(cpu, os)
  @cpu = cpu
  @os = os
end

Instance Attribute Details

#cpu (readonly)

CPU architecture for this resource.

[ GitHub ]

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

attr_reader :cpu

#os (readonly)

Operating system for this resource.

[ GitHub ]

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

attr_reader :os