Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
PStore#in_transaction
in_transaction
lib/pstore.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/pstore.rb, line 388
def in_transaction
raise PStore::Error, "not in transaction" unless @lock.locked?
end
Raises PStore::Error if the calling code is not in a PStore#transaction.