Skip to content

Commit

Permalink
* lib/yaml/store.rb (YAML::Store#dump): use table argument instead of @…
Browse files Browse the repository at this point in the history
…table directly.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
znz committed Sep 29, 2016
1 parent a0a6fd7 commit c249453
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion lib/yaml/store.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def initialize( *o )
# :stopdoc:

def dump(table)
@table.to_yaml(@opt)
table.to_yaml(@opt)
end

def load(content)
Expand Down

0 comments on commit c249453

Please sign in to comment.