X7ROOT File Manager
Current Path:
/opt/alt/ruby18/share/ri/1.8/system/PStore
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
PStore
/
📄
%5b%5d%3d-i.yaml
(1.16 KB)
📄
%5b%5d-i.yaml
(510 B)
📁
..
📁
Error
📄
abort-i.yaml
(934 B)
📄
cdesc-PStore.yaml
(3.53 KB)
📄
commit-i.yaml
(892 B)
📄
commit_new-i.yaml
(252 B)
📄
delete-i.yaml
(462 B)
📄
fetch-i.yaml
(708 B)
📄
in_transaction-i.yaml
(292 B)
📄
in_transaction_wr-i.yaml
(350 B)
📄
new-c.yaml
(305 B)
📄
path-i.yaml
(239 B)
📄
root%3f-i.yaml
(441 B)
📄
roots-i.yaml
(430 B)
📄
transaction-i.yaml
(1.04 KB)
Editing: abort-i.yaml
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Ends the current PStore#transaction, discarding any changes to the data store. - !ruby/struct:SM::Flow::H level: 2 text: "Example:" - !ruby/struct:SM::Flow::VERB body: " require "pstore"\n\n store = PStore.new("data_file.pstore")\n store.transaction do # begin transaction\n store[:one] = 1 # this change is not applied, see below...\n store[:two] = 2 # this change is not applied, see below...\n\n store.abort # end transaction here, discard all changes\n\n store[:three] = 3 # this change is never reached\n end\n" - !ruby/struct:SM::Flow::P body: "<b>WARNING</b>: This method is only valid in a PStore#transaction. It will raise PStore::Error if called at any other time." full_name: PStore#abort is_singleton: false name: abort params: () visibility: public
Upload File
Create Folder