Skip to content

End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

instance method

OpenSSL::Buffering#write

write(*s)

Writes s to the stream. If the argument is not a String it will be converted using .to_s method. Returns the number of bytes written.

See also #ungetc #write_nonblock #readpartial also in 4.1 · 4.0 · 3.4 · 3.3 · 3.2 · 3.1