Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
OpenSSL::Buffering#printf
(::String format_string, *untyped args) -> nil
printf(s, *args)
ext/openssl/lib/openssl/buffering.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/ext/openssl/lib/openssl/buffering.rb, line 475
def printf(s, *args)
do_write(s % args)
nil
end
Formats and writes to the stream converting parameters under control of the format string.
See Kernel#sprintf for format string details.