File::Constants

module File::Constants

File::Constants provides file-related constants. All possible file constants are listed in the documentation but they may not all be present on your platform.

If the underlying platform doesn't define a constant the corresponding Ruby constant is not defined.

Your platform documentations (e.g. man open(2)) may describe more detailed information.

Constants

APPEND

append on each write

BINARY

disable line code conversion

CREAT

create file if it does not exist

DIRECT

Try to minimize cache effects of the I/O to and from this file.