mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/pstore.rb (PStore::dump, PStore::load): allow subclass
overriding. [ruby-dev:34305] * lib/yaml/store.rb (YAML::Store::marshal_dump_supports_canonical_option?): add a method to support faster PStore. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
df033c0632
commit
1e8ec51e8f
3 changed files with 26 additions and 5 deletions
|
|
@ -23,7 +23,7 @@ class YAML::Store < PStore
|
|||
YAML::load(content)
|
||||
end
|
||||
|
||||
def load_file(file)
|
||||
YAML::load(file)
|
||||
def marshal_dump_supports_canonical_option?
|
||||
false
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue