Resolv::DNS::Resource
Unstructured text resource.
Returns an Array of Strings for this TXT record.
Array
TXT
# File ruby-3.1.2/lib/resolv.rb, line 2020 def initialize(first_string, *rest_strings) @strings = [first_string, *rest_strings] end
Returns the concatenated string from strings.
strings
# File ruby-3.1.2/lib/resolv.rb, line 2032 def data @strings.join("") end
This page was generated for Ruby 3.1.2
Ruby-doc.org is a service of James Britt and Neurogami, an erratic source of art, music, and technology.
Generated with Ruby-doc Rdoc Generator 0.42.0.