Method: Kernel#puts
- Defined in:
- io.c
#puts(*objects) ⇒ nil
Equivalent to
$stdout.puts(objects)
9013 9014 9015 9016 9017 9018 9019 9020 9021 |
# File 'io.c', line 9013
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);
}
|