类 Resolv::DNS::SvcParam::Generic
属性
value[R]
SvcParamValue 以线格式字节字符串表示。
公共类方法
create(key_number) 点击切换源代码
# File lib/resolv.rb, line 1868 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) 点击切换源代码
创建通用 SvcParam
# File lib/resolv.rb, line 1856 def initialize(value) @value = value end