class Gem::Resolv::DNS::SvcParam::Generic
Attributes
value[R]
SvcParamValue in wire-format byte string.
Public Class Methods
create(key_number)
click to toggle source
# File rubygems/vendor/resolv/lib/resolv.rb, line 1861 def self.create(key_number) c = Class.new(Generic) key_name = :"key#{key_number}" c.const_set(:KeyName, key_name) c.const_set(:KeyNumber, key_number) self.const_set(:"Key#{key_number}", c) ClassHash[key_name] = ClassHash[key_number] = c return c end
new(value)
click to toggle source
Create generic SvcParam
# File rubygems/vendor/resolv/lib/resolv.rb, line 1849 def initialize(value) @value = value end