класс Resolv::DNS::SvcParam::Generic
Атрибуты
SvcParamValue в формате байтовой строки.
Общедоступные методы класса
Исходный код
# File lib/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 Исходный код
# File lib/resolv.rb, line 1864 def initialize(value) @value = value end
Создать общий SvcParam
Ruby Core © 1993–2024 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.