Method: Kernel#puts
- Defined in:
- io.c
#puts(*objects) ⇒ nil
Equivalent to
$stdout.puts(objects)
9007 9008 9009 9010 9011 9012 9013 9014 9015 |
# File 'io.c', line 9007
static VALUE
rb_f_puts(int argc, VALUE *argv, VALUE recv)
{
VALUE r_stdout = rb_ractor_stdout();
if (recv == r_stdout) {
return rb_io_puts(argc, argv, recv);
}
return forward(r_stdout, rb_intern("puts"), argc, argv);
}
|