method

printf

ruby latest stable - Class: OpenSSL::Buffering
printf(s, *args)
public

Formats and writes to the stream converting parameters under control of the format string.

See Kernel#sprintf for format string details.