Flowdock
method

open_and_lock_file

Importance_1
Ruby latest stable (v1_9_3_392) - 0 notes - Class: PStore
open_and_lock_file(filename, read_only) private

Open the specified filename (either in read-only mode or in read-write mode) and lock it for reading or writing.

The opened File object will be returned. If read_only is true, and the file does not exist, then nil will be returned.

All exceptions are propagated.

Show source
Register or log in to add new notes.