In Files

Resolv::DNS::Resource::TXT

Unstructured text resource.

Attributes

strings[R]

Returns an Array of Strings for this TXT record.

Public Class Methods

new(first_string, *rest_strings) click to toggle source
                
# File resolv.rb, line 1870
def initialize(first_string, *rest_strings)
  @strings = [first_string, *rest_strings]
end

Public Instance Methods

data() click to toggle source

Returns the first string from strings.

                
# File resolv.rb, line 1882
def data
  @strings[0]
end
blog comments powered by Disqus