Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
self
/
root
/
proc
/
self
/
root
/
opt
/
ruby-2.6
/
usr
/
share
/
ri
/
2.6.0
/
system
/
PStore
/
//proc/self/root/proc/self/root/opt/ruby-2.6/usr/share/ri/2.6.0/system/PStore/transaction-i.ri
U:RDoc::AnyMethod[iI"transaction:ETI"PStore#transaction;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"OOpens a new transaction for the data store. Code executed inside a block ;TI"Npassed to this method may read and write data to and from the data store ;TI" file.;To:RDoc::Markup::BlankLine o; ; [ I"FAt the end of the block, changes are committed to the data store ;TI"Nautomatically. You may exit the transaction early with a call to either ;TI"MPStore#commit or PStore#abort. See those methods for details about how ;TI"Ichanges are handled. Raising an uncaught Exception in the block is ;TI"(equivalent to calling PStore#abort.;T@o; ; [I"PIf _read_only_ is set to +true+, you will only be allowed to read from the ;TI"Pdata store during the transaction and any attempts to change the data will ;TI"raise a PStore::Error.;T@o; ; [I";Note that PStore does not support nested transactions.;T: @fileI"lib/pstore.rb;T:0@omit_headings_from_table_of_contents_below00I"pstore;T[ I"(read_only = false);T@ FI"PStore;TcRDoc::NormalClass00