Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
PStore#abort
() -> void
abort
lib/pstore.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/pstore.rb, line 535
def abort
in_transaction
@abort = true
throw :pstore_abort_transaction
end
Exits the current transaction block, discarding any changes specified in the transaction block.
Raises an exception if called outside a transaction block.