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 1753
def initialize(data)
  @data = data
end

Creates a new generic resource.

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