Preview Ruby 4.1 is a preview. It can change before the final release. 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-4.1.0-preview1/ext/openssl/lib/openssl/buffering.rb, line 481
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.