123456789_123456789_123456789_123456789_123456789_

Class: Gem::Resolv::DNS::Resource::MINFO

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

Mailing list or mailbox information.

Constant Summary

::Gem::Resolv::DNS::Resource - Inherited

ClassHash, ClassInsensitiveTypes, ClassValue

Class Method Summary

Instance Attribute Summary

  • #emailbx readonly

    Mailbox to use for error messages related to the mail list or mailbox.

  • #rmailbx readonly

    Domain name responsible for this mail list or mailbox.

::Gem::Resolv::DNS::Resource - Inherited

#ttl

Remaining Time To Live for this ::Gem::Resolv::DNS::Resource.

Instance Method Summary

Constructor Details

.new(rmailbx, emailbx) ⇒ MINFO

[ GitHub ]

  
# File 'lib/rubygems/vendor/resolv/lib/resolv.rb', line 2356

def initialize(rmailbx, emailbx)
  @rmailbx = rmailbx
  @emailbx = emailbx
end

Class Method Details

.decode_rdata(msg)

This method is for internal use only.
[ GitHub ]

  
# File 'lib/rubygems/vendor/resolv/lib/resolv.rb', line 2376

def self.decode_rdata(msg) # :nodoc:
  rmailbx = msg.get_string
  emailbx = msg.get_string
  return self.new(rmailbx, emailbx)
end

Instance Attribute Details

#emailbx (readonly)

Mailbox to use for error messages related to the mail list or mailbox.

[ GitHub ]

  
# File 'lib/rubygems/vendor/resolv/lib/resolv.rb', line 2369

attr_reader :emailbx

#rmailbx (readonly)

Domain name responsible for this mail list or mailbox.

[ GitHub ]

  
# File 'lib/rubygems/vendor/resolv/lib/resolv.rb', line 2364

attr_reader :rmailbx

Instance Method Details

#encode_rdata(msg)

This method is for internal use only.
[ GitHub ]

  
# File 'lib/rubygems/vendor/resolv/lib/resolv.rb', line 2371

def encode_rdata(msg) # :nodoc:
  msg.put_name(@rmailbx)
  msg.put_name(@emailbx)
end