End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
PStore#roots
roots
lib/pstore.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.1.3/lib/pstore.rb, line 223
def roots
in_transaction
@table.keys
end
Returns the names of all object hierarchies currently in the store.
WARNING: This method is only valid in a PStore#transaction. It will raise PStore::Error if called at any other time.
See also
#root?
#save_data
#path
#save_data_with_atomic_file_rename_strategy
also in
3.4 · 3.3 · 3.2 · 3.0