Method: IO#flush
- Defined in:
- io.c
#flush ⇒ self
Flushes data buffered in self to the operating system (but does not necessarily flush data buffered in the operating system):
$stdout.print 'no newline' # Not necessarily flushed.
$stdout.flush # Flushed.
2405 2406 2407 2408 2409 |
# File 'io.c', line 2405 VALUE rb_io_flush(VALUE io) { return rb_io_flush_raw(io, 1); } |