My Profile Photo

rubycoloredglasses


I'm Jason, a web applications developer in the San Francisco Bay area.


Ruby File Modes

When working with files, you can open them in one of several modes.

File.new("/file/path.txt", "w")

You can find the description of these modes in the IO documentation.