diff options
author | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-09-29 14:40:34 +0000 |
---|---|---|
committer | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-09-29 14:40:34 +0000 |
commit | 1471ff90a7332f2e377130ba28e5127711e6e8dc (patch) | |
tree | 8a8114cd0d51aaee814fc4e31ea291d043686995 | |
parent | ad27aec515f82fa18ba6ca932b495d6f2c08f0ac (diff) | |
download | ruby-1471ff90a7332f2e377130ba28e5127711e6e8dc.tar.gz |
* lib/yaml/store.rb (YAML::Store#dump): use table argument instead of @table directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/yaml/store.rb | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Thu Sep 29 23:38:04 2016 Kazuhiro NISHIYAMA <zn@mbf.nifty.com> + + * lib/yaml/store.rb (YAML::Store#dump): use table argument instead + of @table directly. + Thu Sep 29 22:22:22 2016 Kazuhiro NISHIYAMA <zn@mbf.nifty.com> * lib/yaml/store.rb (YAML::Store#initialize): Fix arguments. diff --git a/lib/yaml/store.rb b/lib/yaml/store.rb index 370e45f584..3c9b8817e4 100644 --- a/lib/yaml/store.rb +++ b/lib/yaml/store.rb @@ -61,7 +61,7 @@ class YAML::Store < PStore # :stopdoc: def dump(table) - @table.to_yaml(@opt) + table.to_yaml(@opt) end def load(content) |