APIdock / Ruby
/
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.

VALUE
rb_io_printf(int argc, const VALUE *argv, VALUE out)
{
 rb_io_write(out, rb_f_sprintf(argc, argv));
 return Qnil;
}

AltStyle によって変換されたページ (->オリジナル) /