Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
instance method
OpenSSL::Buffering#readchar
() -> ::String
readchar
ext/openssl/lib/openssl/buffering.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/ext/openssl/lib/openssl/buffering.rb, line 313
def readchar
raise EOFError if eof?
getc
end
Reads a one-character string from the stream. Raises an EOFError at end of file.