End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
PStore#delete
delete(name)
lib/pstore.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.1.3/lib/pstore.rb, line 212
def delete(name)
in_transaction_wr
@table.delete name
end
Removes an object hierarchy from the data store, by name.
WARNING: This method is only valid in a PStore#transaction and it cannot be read-only. It will raise PStore::Error if called at any other time.