diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-10 14:10:19 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-04-10 14:10:19 +0000 |
| commit | 80400362a47f079afbe6fb613dc62a81cbb8ec4d (patch) | |
| tree | f5a3e3367988621afdbfdfeb9d24a8e5b812b8d7 /lib/yaml | |
| parent | 97d464245318c4e9f59f71830d2fa4ba66e145d3 (diff) | |
| download | ruby-80400362a47f079afbe6fb613dc62a81cbb8ec4d.tar.gz ruby-80400362a47f079afbe6fb613dc62a81cbb8ec4d.tar.xz ruby-80400362a47f079afbe6fb613dc62a81cbb8ec4d.zip | |
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@15964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/yaml')
| -rw-r--r-- | lib/yaml/store.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/yaml/store.rb b/lib/yaml/store.rb index 2ffa9554b..4f0384cc5 100644 --- a/lib/yaml/store.rb +++ b/lib/yaml/store.rb @@ -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 |
