sync

ios.sync â true or false
Instance Public methods

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.

f = File.new("testfile")
f.sync   #=> false
doc_ruby_on_rails
2015-04-13 14:16:23
Comments
Leave a Comment

Please login to continue.