class Resolv::DNS::SvcParam::Generic
属性
value[R]
线格式字节字符串中的 SvcParamValue。
公共类方法
create(key_number) 点击切换源码
# File resolv.rb, line 1876 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 resolv.rb, line 1864 def initialize(value) @value = value end