open(path [, mode [, perm]] [, opt]) â io or nilopen(path [, mode [, perm]] [, opt]) {|io| block } â obj
Class Public methods
Creates an IO object connected to the given stream,
file, or subprocess.
If path does not start with a pipe character (|),
treat it as the name of a file to open using the specified mode (defaulting
to ârâ).
The mode is either a string or an integer. If it is an
integer, it must be bitwise-or of open(2) flags, such as File::RDWR or
File::EX