In Files

  • ruby-3.1.2/lib/resolv.rb

Files

Class/Module Index [+]

Quicksearch

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 ruby-3.1.2/lib/resolv.rb, line 2020
def initialize(first_string, *rest_strings)
  @strings = [first_string, *rest_strings]
end
            

Public Instance Methods

data() click to toggle source

Returns the concatenated string from strings.

 
               # File ruby-3.1.2/lib/resolv.rb, line 2032
def data
  @strings.join("")
end