new

new(file, thread_safe = false)
Class Public methods

To construct a PStore object, pass in the file path where you would like the data to be stored.

PStore objects are always reentrant. But if thread_safe is set to true, then it will become thread-safe at the cost of a minor performance hit.

doc_ruby_on_rails
2015-04-29 00:23:28
Comments
Leave a Comment

Please login to continue.