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.
Constant Summary
- 
    TypeValue =
    Internal use only
    
 # File 'lib/resolv.rb', line 190813
::Resolv::DNS::Resource - Inherited
  
Class Method Summary
- .new(cpu, os) ⇒ HINFO constructor
- .decode_rdata(msg) Internal use only
::Resolv::DNS::Resource - Inherited
::Resolv::DNS::Query - Inherited
Instance Attribute Summary
::Resolv::DNS::Resource - Inherited
| #ttl | Remaining Time To Live for this  | 
Instance Method Summary
- #encode_rdata(msg) Internal use only
::Resolv::DNS::Resource - Inherited
::Resolv::DNS::Query - Inherited
Constructor Details
    .new(cpu, os)  ⇒ HINFO 
  
  [ GitHub ]
Class Method Details
.decode_rdata(msg)
    This method is for internal use only.
  
  [ GitHub ]
Instance Attribute Details
#cpu (readonly)
CPU architecture for this resource.
# File 'lib/resolv.rb', line 1921
attr_reader :cpu
#os (readonly)
Operating system for this resource.
# File 'lib/resolv.rb', line 1926
attr_reader :os
Instance Method Details
#encode_rdata(msg)
    This method is for internal use only.
  
  [ GitHub ]
# File 'lib/resolv.rb', line 1928
def encode_rdata(msg) # :nodoc: msg.put_string(@cpu) msg.put_string(@os) end