--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the current ``sync mode'' of ios. When sync mode is true, all output is immediately flushed to the underlying operating system and is not buffered by Ruby internally. See also IO#fsync. - !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