W3cubDocs

/Ruby 2.4

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

Creates a new generic resource.

# File lib/resolv.rb, line 1717
def initialize(data)
  @data = data
end

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