Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby21
/
share
/
ri
/
2.1.0
/
system
/
PStore
/
//opt/alt/ruby21/share/ri/2.1.0/system/PStore/transaction-i.ri
U:RDoc::AnyMethod[iI"transaction:EFI"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;F[ I"(read_only = false);T@ FI"PStore;TcRDoc::NormalClass00