[前][次][番号順一覧][スレッド一覧]

ruby-changes:44221

From: kazu <ko1@a...>
Date: Thu, 29 Sep 2016 23:40:40 +0900 (JST)
Subject: [ruby-changes:44221] kazu:r56294 (trunk): * lib/yaml/store.rb (YAML::Store#dump): use table argument instead of @table directly.

kazu	2016-09-29 23:40:34 +0900 (Thu, 29 Sep 2016)

  New Revision: 56294

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=56294

  Log:
    * lib/yaml/store.rb (YAML::Store#dump): use table argument instead of @table directly.

  Modified files:
    trunk/ChangeLog
    trunk/lib/yaml/store.rb
Index: lib/yaml/store.rb
===================================================================
--- lib/yaml/store.rb	(revision 56293)
+++ lib/yaml/store.rb	(revision 56294)
@@ -61,7 +61,7 @@ class YAML::Store < PStore https://github.com/ruby/ruby/blob/trunk/lib/yaml/store.rb#L61
   # :stopdoc:
 
   def dump(table)
-    @table.to_yaml(@opt)
+    table.to_yaml(@opt)
   end
 
   def load(content)
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 56293)
+++ ChangeLog	(revision 56294)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Thu Sep 29 23:38:04 2016  Kazuhiro NISHIYAMA  <zn@m...>
+
+	* lib/yaml/store.rb (YAML::Store#dump): use table argument instead
+	  of @table directly.
+
 Thu Sep 29 22:22:22 2016  Kazuhiro NISHIYAMA  <zn@m...>
 
 	* lib/yaml/store.rb (YAML::Store#initialize): Fix arguments.

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]