W3cubDocs

/Ruby 3

class Resolv::DNS::Resource::Generic

Parent:
Resolv::DNS::Resource

A generic resource abstract class.

Attributes

data[R]

Data for this generic resource.

Public Class Methods

new(data) Show source
# File lib/resolv.rb, line 1752
def initialize(data)
  @data = data
end

Creates a new generic resource.

Ruby Core © 1993–2020 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.