X7ROOT File Manager
Current Path:
/opt/alt/ruby18/lib64/ruby/1.8/yaml
opt
/
alt
/
ruby18
/
lib64
/
ruby
/
1.8
/
yaml
/
??
..
??
baseemitter.rb
(5.62 KB)
??
basenode.rb
(5.98 KB)
??
constants.rb
(1.16 KB)
??
dbm.rb
(2.24 KB)
??
encoding.rb
(605 B)
??
error.rb
(1.04 KB)
??
loader.rb
(296 B)
??
rubytypes.rb
(12.73 KB)
??
store.rb
(703 B)
??
stream.rb
(700 B)
??
stringio.rb
(1.92 KB)
??
syck.rb
(271 B)
??
tag.rb
(3.08 KB)
??
types.rb
(4.88 KB)
??
yamlnode.rb
(1.19 KB)
??
ypath.rb
(1.3 KB)
Editing: store.rb
# # YAML::Store # require 'yaml' require 'pstore' class YAML::Store < PStore def initialize( *o ) @opt = YAML::DEFAULTS.dup if String === o.first super(o.shift) end if o.last.is_a? Hash @opt.update(o.pop) end end def dump(table) @table.to_yaml(@opt) end def load(content) table = YAML::load(content) if table == false {} else table end end def marshal_dump_supports_canonical_option? false end EMPTY_MARSHAL_DATA = {}.to_yaml EMPTY_MARSHAL_CHECKSUM = Digest::MD5.digest(EMPTY_MARSHAL_DATA) def empty_marshal_data EMPTY_MARSHAL_DATA end def empty_marshal_checksum EMPTY_MARSHAL_CHECKSUM end end
Upload File
Create Folder