From c249453c2a0217deb75ffb0803df118526e68a0c Mon Sep 17 00:00:00 2001 From: kazu Date: Thu, 29 Sep 2016 14:40:34 +0000 Subject: [PATCH] * 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 --- ChangeLog | 5 +++++ lib/yaml/store.rb | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 483308645b..2231eb3512 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Sep 29 23:38:04 2016 Kazuhiro NISHIYAMA + + * lib/yaml/store.rb (YAML::Store#dump): use table argument instead + of @table directly. + Thu Sep 29 22:22:22 2016 Kazuhiro NISHIYAMA * 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)