⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.93
Server IP:
65.108.141.171
Server:
Linux server.heloix.com 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
2.7.0
/
system
/
YAML
/
Store
/
Edit File: cdesc-Store.ri
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
Simpan