Class: Gem::Resolv::DNS::Resource::HINFO
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
|
|
Instance Chain:
|
|
Inherits: |
Gem::Resolv::DNS::Resource
|
Defined in: | lib/rubygems/vendor/resolv/lib/resolv.rb |
Overview
Host Information resource.
Constant Summary
-
TypeValue =
Internal use only
# File 'lib/rubygems/vendor/resolv/lib/resolv.rb', line 231713
::Gem::Resolv::DNS::Resource
- Inherited
Class Method Summary
- .new(cpu, os) ⇒ HINFO constructor
- .decode_rdata(msg) Internal use only
::Gem::Resolv::DNS::Resource
- Inherited
::Gem::Resolv::DNS::Query
- Inherited
Instance Attribute Summary
::Gem::Resolv::DNS::Resource
- Inherited
#ttl | Remaining Time To Live for this |
Instance Method Summary
- #encode_rdata(msg) Internal use only
::Gem::Resolv::DNS::Resource
- Inherited
::Gem::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/rubygems/vendor/resolv/lib/resolv.rb', line 2330
attr_reader :cpu
#os (readonly)
Operating system for this resource.
# File 'lib/rubygems/vendor/resolv/lib/resolv.rb', line 2335
attr_reader :os
Instance Method Details
#encode_rdata(msg)
This method is for internal use only.
[ GitHub ]
# File 'lib/rubygems/vendor/resolv/lib/resolv.rb', line 2337
def encode_rdata(msg) # :nodoc: msg.put_string(@cpu) msg.put_string(@os) end