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 1525
1525:         def self.decode_rdata(msg)
1526:           rmailbx = msg.get_string
1527:           emailbx = msg.get_string
1528:           return self.new(rmailbx, emailbx)
1529:         end

[Source]

      # File lib/resolv.rb, line 1514
1514:         def initialize(rmailbx, emailbx)
1515:           @rmailbx = rmailbx
1516:           @emailbx = emailbx
1517:         end

Public Instance methods

[Source]

      # File lib/resolv.rb, line 1520
1520:         def encode_rdata(msg)
1521:           msg.put_name(@rmailbx)
1522:           msg.put_name(@emailbx)
1523:         end

[Validate]