Method: IO#printf
- Defined in:
- io.c
#printf(format_string[, obj, ...]) ⇒ nil
Formats and writes to ios, converting parameters under control of the format string. See Kernel#sprintf for details.
7642 7643 7644 7645 7646 7647 |
# File 'io.c', line 7642
VALUE
rb_io_printf(int argc, const VALUE *argv, VALUE out)
{
rb_io_write(out, rb_f_sprintf(argc, argv));
return Qnil;
}
|