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 | c249453c2a0217deb75ffb0803df118526e68a0c (patch) | |
tree | 8a8114cd0d51aaee814fc4e31ea291d043686995 | |
parent | a0a6fd7328dd1b22a38b406088752d631a398a7b (diff) |
* 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) |