Class: Resolv::DNS::Resource::IN::A
- Inherits:
-
Resolv::DNS::Resource
- Object
- Query
- Resolv::DNS::Resource
- Resolv::DNS::Resource::IN::A
- Defined in:
- lib/logmerge/resolv.rb
Constant Summary
Constants inherited from Resolv::DNS::Resource
ClassHash, ClassInsensitiveTypes, ClassValue
Instance Attribute Summary collapse
-
#address ⇒ Object
readonly
Returns the value of attribute address.
Attributes inherited from Resolv::DNS::Resource
Class Method Summary collapse
Instance Method Summary collapse
- #encode_rdata(msg) ⇒ Object
-
#initialize(address) ⇒ A
constructor
A new instance of A.
Methods inherited from Resolv::DNS::Resource
Constructor Details
Instance Attribute Details
#address ⇒ Object (readonly)
Returns the value of attribute address.
1609 1610 1611 |
# File 'lib/logmerge/resolv.rb', line 1609 def address @address end |
Class Method Details
Instance Method Details
#encode_rdata(msg) ⇒ Object
1611 1612 1613 |
# File 'lib/logmerge/resolv.rb', line 1611 def encode_rdata(msg) msg.put_bytes(@address.address) end |