--- !ruby/object:RDoc::RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:RDoc::Markup::Flow::P 
  :body: Open the specified filename (either in read-only mode or in read-write mode) and lock it for reading or writing.
- !ruby/struct:RDoc::Markup::Flow::P 
  :body: The opened File object will be returned. If <em>read_only</em> is true, and the file does not exist, then nil will be returned.
- !ruby/struct:RDoc::Markup::Flow::P 
  :body: All exceptions are propagated.
full_name: PStore#open_and_lock_file
is_singleton: false
name: open_and_lock_file
params: (filename, read_only)
visibility: private
