class Gem::Resolv::DNS::Resource::HINFO - rubygems: Ruby Standard Library Documentation

# class Gem::Resolv::DNS::Resource::HINFO

Host Information resource.

### Attributes

cpu[R]

CPU architecture for this resource.

os[R]

Operating system for this resource.

### Public Class Methods

new(cpu, os) click to toggle source

Creates a new `HINFO` running `os` on `cpu`.

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