Lines Matching defs:sync
1729 * ios.sync -> true or false
1731 * Returns the current ``sync mode'' of <em>ios</em>. When sync mode is
1737 * f.sync #=> false
1754 * ios.sync = boolean -> boolean
1756 * Sets the ``sync mode'' to <code>true</code> or <code>false</code>.
1757 * When sync mode is true, all output is immediately flushed to the
1762 * f.sync = true
1768 rb_io_set_sync(VALUE io, VALUE sync)
1774 if (RTEST(sync)) {
1780 return sync;
1789 * using <code>IO#sync=</code>. The latter ensures that data is flushed
1817 rb_io_set_sync(VALUE io, VALUE sync)
11759 rb_define_method(rb_cIO, "sync", rb_io_sync, 0);
11760 rb_define_method(rb_cIO, "sync=", rb_io_set_sync, 1);