summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--lib/yaml/store.rb2
2 files changed, 6 insertions, 1 deletions
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 <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)