W3cubDocs

/Ruby 2.4

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

Creates a new HINFO running os on cpu.

# File lib/resolv.rb, line 1879
def initialize(cpu, os)
  @cpu = cpu
  @os = os
end

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