Class Resolv::DNS::Resource::MINFO
In: lib/resolv.rb
Parent: Resource

Methods

Constants

TypeValue = 14

Attributes

emailbx  [R] 
rmailbx  [R] 

Public Class methods

[Source]

      # File lib/resolv.rb, line 1571
1571:         def self.decode_rdata(msg)
1572:           rmailbx = msg.get_string
1573:           emailbx = msg.get_string
1574:           return self.new(rmailbx, emailbx)
1575:         end

[Source]

      # File lib/resolv.rb, line 1560
1560:         def initialize(rmailbx, emailbx)
1561:           @rmailbx = rmailbx
1562:           @emailbx = emailbx
1563:         end

Public Instance methods

[Source]

      # File lib/resolv.rb, line 1566
1566:         def encode_rdata(msg)
1567:           msg.put_name(@rmailbx)
1568:           msg.put_name(@emailbx)
1569:         end

[Validate]