Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
PStore#in_transaction_wr
() -> void
in_transaction_wr
lib/pstore.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/pstore.rb, line 395
def in_transaction_wr
in_transaction
raise PStore::Error, "in read-only transaction" if @rdonly
end
Raises PStore::Error if the calling code is not in a PStore#transaction or if the code is in a read-only PStore#transaction.