W3cubDocs

/Ruby 3

class Resolv::DNS::Resource::HINFO

Parent:
Resolv::DNS::Resource

Host Information resource.

Attributes

cpu[R]

CPU architecture for this resource.

os[R]

Operating system for this resource.

Public Class Methods

new(cpu, os) Show source
# File lib/resolv.rb, line 1914
def initialize(cpu, os)
  @cpu = cpu
  @os = os
end

Creates a new HINFO running os on cpu.

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