Spec-Zone.ru › Ruby 3.4
  1. Resolv::
  2. SZ::

module Resolv::SZ

Открытые методы экземпляра

read_s (key) Показать исходный код
# File ext/win32/lib/win32/resolv.rb, line 50
def read_s(key)
  type, str = read(key)
  unless type == Registry::REG_SZ
    warn "Broken registry, #{name}\\#{key} was #{Registry.type2name(type)}, ignored"
    return String.new
  end
  str
end

временное решение для обхода ошибки реестра

Ruby Core © 1993–2025 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.

Spec-Zone.ru

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