Skip to content

End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

instance method

PStore#root?

root?(name)

Returns true if the supplied name is currently in the data store.

WARNING: This method is only valid in a PStore#transaction. It will raise PStore::Error if called at any other time.

See also #path #roots #open_and_lock_file #save_data also in 3.4 · 3.3 · 3.2 · 3.0