Class: Gem::Resolv::DNS::Resource::MINFO
- Inherits:
-
Gem::Resolv::DNS::Resource
- Object
- Query
- Gem::Resolv::DNS::Resource
- Gem::Resolv::DNS::Resource::MINFO
- Defined in:
- lib/rubygems/vendor/resolv/lib/resolv.rb
Overview
Mailing list or mailbox information.
Constant Summary collapse
- TypeValue =
:nodoc:
14
Constants inherited from Gem::Resolv::DNS::Resource
ClassHash, ClassInsensitiveTypes, ClassValue
Instance Attribute Summary collapse
-
#emailbx ⇒ Object
readonly
Mailbox to use for error messages related to the mail list or mailbox.
-
#rmailbx ⇒ Object
readonly
Domain name responsible for this mail list or mailbox.
Attributes inherited from Gem::Resolv::DNS::Resource
Class Method Summary collapse
-
.decode_rdata(msg) ⇒ Object
:nodoc:.
Instance Method Summary collapse
-
#encode_rdata(msg) ⇒ Object
:nodoc:.
-
#initialize(rmailbx, emailbx) ⇒ MINFO
constructor
A new instance of MINFO.
Methods inherited from Gem::Resolv::DNS::Resource
Constructor Details
#initialize(rmailbx, emailbx) ⇒ MINFO
Returns a new instance of MINFO.
2359 2360 2361 2362 |
# File 'lib/rubygems/vendor/resolv/lib/resolv.rb', line 2359 def initialize(rmailbx, emailbx) @rmailbx = rmailbx @emailbx = emailbx end |
Instance Attribute Details
#emailbx ⇒ Object (readonly)
Mailbox to use for error messages related to the mail list or mailbox.
2372 2373 2374 |
# File 'lib/rubygems/vendor/resolv/lib/resolv.rb', line 2372 def emailbx @emailbx end |
#rmailbx ⇒ Object (readonly)
Domain name responsible for this mail list or mailbox.
2367 2368 2369 |
# File 'lib/rubygems/vendor/resolv/lib/resolv.rb', line 2367 def rmailbx @rmailbx end |
Class Method Details
.decode_rdata(msg) ⇒ Object
:nodoc:
2379 2380 2381 2382 2383 |
# File 'lib/rubygems/vendor/resolv/lib/resolv.rb', line 2379 def self.decode_rdata(msg) # :nodoc: rmailbx = msg.get_string emailbx = msg.get_string return self.new(rmailbx, emailbx) end |
Instance Method Details
#encode_rdata(msg) ⇒ Object
:nodoc:
2374 2375 2376 2377 |
# File 'lib/rubygems/vendor/resolv/lib/resolv.rb', line 2374 def encode_rdata(msg) # :nodoc: msg.put_name(@rmailbx) msg.put_name(@emailbx) end |