| Server IP : 68.178.247.200 / Your IP : 216.73.216.110 Web Server : Apache System : Linux p3plzcpnl489463.prod.phx3.secureserver.net 4.18.0-553.126.2.lve.el8.x86_64 #1 SMP Thu May 28 14:12:30 UTC 2026 x86_64 User : x9dppmxs4rgd ( 8559391) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /./proc/thread-self/root/opt/alt/ruby32/share/gems/doc/yaml-0.4.0/ri/YAML/Store/ |
Upload File : |
U:RDoc::NormalClass[iI"
Store:ETI"YAML::Store;TI"PStore;To:RDoc::Markup::Document:@parts[o;;[
o:RDoc::Markup::Paragraph;[I"PYAML::Store provides the same functionality as PStore, except it uses YAML ;TI"(to dump objects instead of Marshal.;To:RDoc::Markup::BlankLine S:RDoc::Markup::Heading:
leveli: textI"Example;T@o:RDoc::Markup::Verbatim;[I"require 'yaml/store'
;TI"
;TI"1Person = Struct.new :first_name, :last_name
;TI"
;TI"Jpeople = [Person.new("Bob", "Smith"), Person.new("Mary", "Johnson")]
;TI"
;TI"*store = YAML::Store.new "test.store"
;TI"
;TI"store.transaction do
;TI" store["people"] = people
;TI"2 store["greeting"] = { "hello" => "world" }
;TI" end
;T:@format0o; ;[I"HAfter running the above code, the contents of "test.store" will be:;T@o;;[I" ---
;TI"
people:
;TI"- !ruby/struct:Person
;TI" first_name: Bob
;TI" last_name: Smith
;TI"- !ruby/struct:Person
;TI" first_name: Mary
;TI" last_name: Johnson
;TI"greeting:
;TI" hello: world;T;0:
@fileI"lib/yaml/store.rb;T:0@omit_headings_from_table_of_contents_below0;0;0[ [ [ [[I"
class;T[[:public[[I"new;TI"lib/yaml/store.rb;T[:protected[ [:private[ [I"
instance;T[[;[ [;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ;0;0[@2@2cRDoc::TopLevel