Parent

Class Index [+]

Quicksearch

Dnsruby::RR::X25

Class for DNS X25 resource records. RFC 1183 Section 3.1

Constants

TypeValue

Attributes

address[RW]

The PSDN address

Public Instance Methods

from_data(data) click to toggle source
    # File lib/Dnsruby/resource/X25.rb, line 27
27:       def from_data(data)
28:         @address = data
29:       end
from_string(input) click to toggle source
    # File lib/Dnsruby/resource/X25.rb, line 31
31:       def from_string(input)
32:         address = input
33:         address.sub!(/^\"/, "")
34:         @address = address.sub(/\"$/, "")
35:       end
rdata_to_string() click to toggle source
    # File lib/Dnsruby/resource/X25.rb, line 37
37:       def rdata_to_string
38:         if (@address!=nil)
39:           return @address
40:         else
41:           return ""
42:         end
43:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.