класс OpenSSL::Buffering::Buffer
Буфер, сохраняющий двоичную кодировку.
Константы
- BINARY
Открытые методы класса
# File ext/openssl/lib/openssl/buffering.rb, line 29 def initialize super force_encoding(BINARY) end
Вызывает метод суперкласса
String::new Открытые методы экземпляра
# File ext/openssl/lib/openssl/buffering.rb, line 35
def << string
if string.encoding == BINARY
super(string)
else
super(string.b)
end
return self
end Вызывает метод суперкласса
String#<< Также имеет псевдоним: concat
Псевдоним для: <<
Ruby Core © 1993–2025 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.