instance method
Kernel#sprintf
(::String format, *untyped args) -> ::String
sprintf(format_string *objects) → string
object.c
View on GitHub ↗
static VALUE
f_sprintf(int c, const VALUE *v, VALUE _)
{
return rb_f_sprintf(c, v);
}
Returns the string resulting from formatting objects into format_string.
For details on format_string, see Format Specifications.