Skip to Content Skip to Search

Unstructured text resource.

Methods
D
N

Attributes

[R] strings

Returns an Array of Strings for this TXT record.

Class Public methods

new(first_string, *rest_strings)

# File ruby/lib/resolv.rb, line 2423
def initialize(first_string, *rest_strings)
  @strings = [first_string, *rest_strings]
end

Instance Public methods

data()

Returns the concatenated string from strings.

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