diff options
-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 <[email protected]> + + * lib/yaml/store.rb (YAML::Store#dump): use table argument instead + of @table directly. + Thu Sep 29 22:22:22 2016 Kazuhiro NISHIYAMA <[email protected]> * 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) |