sync=

ios.sync = boolean â boolean
Instance Public methods

Sets the âsync mode'' to true or false. When sync mode is true, all output is immediately flushed to the underlying operating system and is not buffered internally. Returns the new state. See also IO#fsync.

f = File.new("testfile")
f.sync = true

(produces no output)

doc_ruby_on_rails
2015-04-13 14:17:58
Comments
Leave a Comment

Please login to continue.