Current File : //proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/IO/sync-i.yaml |
--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: Returns the current ``sync mode'' of <em>ios</em>. When sync mode is true, all output is immediately flushed to the underlying operating system and is not buffered by Ruby internally. See also <tt>IO#fsync</tt>.
- !ruby/struct:SM::Flow::VERB
body: " f = File.new("testfile")\n f.sync #=> false\n"
full_name: IO#sync
is_singleton: false
name: sync
params: |
ios.sync => true or false
visibility: public