method
printf
ruby latest stable - Class:
IO
printf(*args)public
Formats and writes to ios, converting parameters under control of the format string. See Kernel#sprintf for details.
VALUE
rb_io_printf(int argc, const VALUE *argv, VALUE out)
{
rb_io_write(out, rb_f_sprintf(argc, argv));
return Qnil;
}