Ruby 1.9.3 Reference Manual > All Libraries > Builtin Library > module File::Constants > CREAT
CREAT -> Integer
ファイルがなければ作成するよう指定します。 File.openで使用します。