class Resolv::DNS::Resource::TXT
Unstructured text resource.
Attributes
Public Class Methods
new(first_string, *rest_strings)
click to toggle source
# File lib/resolv.rb, line 2015 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 lib/resolv.rb, line 2027 def data @strings.join("") end