Ruby 1.9.0 リファレンスマニュアル > ライブラリ一覧 > library fcntl > module Fcntl > O_WRONLY

constant Fcntl::O_WRONLY

O_WRONLY -> Integer

ファイルを書き込み専用で開きます。