File: C:/Ruby27-x64/share/ri/2.7.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