Spec-Zone.ru › Ruby 3.4

класс Resolv::DNS::SvcParam::Generic

Родитель:
Resolv::DNS::SvcParam

Generic SvcParam абстрактный класс.

Атрибуты

значение [R]

SvcParamValue в формате байтовой строки.

Общедоступные методы класса

create (key_number)
Исходный код
# 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
new (value)
Исходный код
# 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.

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API