Ruby 1.9.3 Reference Manual > All Libraries > Builtin Library > module File::Constants > SYNC
SYNC -> Integer
ファイルを同期モードで開きます。 open(2) で O_SYNCが指定できる場合に使えます。 File.openで使用します。