Class: Resolv::DNS::Resource::MINFO
- Inherits:
-
Resolv::DNS::Resource
- Object
- Query
- Resolv::DNS::Resource
- Resolv::DNS::Resource::MINFO
- Defined in:
- lib/resolv.rb
Overview
Mailing list or mailbox information.
Constant Summary
- TypeValue =
:nodoc:
14
Constants inherited from Resolv::DNS::Resource
ClassHash, ClassInsensitiveTypes, ClassValue
Instance Attribute Summary (collapse)
-
- (Object) emailbx
readonly
Mailbox to use for error messages related to the mail list or mailbox.
-
- (Object) rmailbx
readonly
Domain name responsible for this mail list or mailbox.
Attributes inherited from Resolv::DNS::Resource
Class Method Summary (collapse)
-
+ (Object) decode_rdata(msg)
:nodoc:.
Instance Method Summary (collapse)
-
- (Object) encode_rdata(msg)
:nodoc:.
-
- (MINFO) initialize(rmailbx, emailbx)
constructor
A new instance of MINFO.
Methods inherited from Resolv::DNS::Resource
Constructor Details
- (MINFO) initialize(rmailbx, emailbx)
A new instance of MINFO
1798 1799 1800 1801 |
# File 'lib/resolv.rb', line 1798 def initialize(rmailbx, emailbx) @rmailbx = rmailbx @emailbx = emailbx end |
Instance Attribute Details
- (Object) emailbx (readonly)
Mailbox to use for error messages related to the mail list or mailbox.
1811 1812 1813 |
# File 'lib/resolv.rb', line 1811 def emailbx @emailbx end |
- (Object) rmailbx (readonly)
Domain name responsible for this mail list or mailbox.
1806 1807 1808 |
# File 'lib/resolv.rb', line 1806 def rmailbx @rmailbx end |
Class Method Details
+ (Object) decode_rdata(msg)
:nodoc:
1818 1819 1820 1821 1822 |
# File 'lib/resolv.rb', line 1818 def self.decode_rdata(msg) # :nodoc: rmailbx = msg.get_string emailbx = msg.get_string return self.new(rmailbx, emailbx) end |
Instance Method Details
- (Object) encode_rdata(msg)
:nodoc:
1813 1814 1815 1816 |
# File 'lib/resolv.rb', line 1813 def encode_rdata(msg) # :nodoc: msg.put_name(@rmailbx) msg.put_name(@emailbx) end |