method

printf

ruby latest stable - Class: ARGF
printf(*args)
public

Formats and writes to ios, converting parameters under control of the format string. See Kernel#sprintf for details.