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

ruby-changes:28724

From: tenderlove <ko1@a...>
Date: Thu, 16 May 2013 05:48:25 +0900 (JST)
Subject: [ruby-changes:28724] tenderlove:r40776 (trunk): * ext/psych/lib/psych/visitors/yaml_tree.rb: fix syntax error.

tenderlove	2013-05-16 05:48:15 +0900 (Thu, 16 May 2013)

  New Revision: 40776

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=40776

  Log:
    * ext/psych/lib/psych/visitors/yaml_tree.rb: fix syntax error.
      Thanks @spastorino! [ruby-core:55011]

  Modified files:
    trunk/ChangeLog
    trunk/ext/psych/lib/psych/visitors/yaml_tree.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 40775)
+++ ChangeLog	(revision 40776)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Thu May 16 05:47:18 2013  Aaron Patterson <aaron@t...>
+
+	* ext/psych/lib/psych/visitors/yaml_tree.rb: fix syntax error.
+	  Thanks @spastorino! [ruby-core:55011]
+
 Thu May 16 03:05:45 2013  Koichi Sasada  <ko1@a...>
 
 	* gc.c (rb_node_newnode): use newobj_of() instead of rb_newobj().
Index: ext/psych/lib/psych/visitors/yaml_tree.rb
===================================================================
--- ext/psych/lib/psych/visitors/yaml_tree.rb	(revision 40775)
+++ ext/psych/lib/psych/visitors/yaml_tree.rb	(revision 40776)
@@ -51,7 +51,7 @@ module Psych https://github.com/ruby/ruby/blob/trunk/ext/psych/lib/psych/visitors/yaml_tree.rb#L51
         return super if emitter && ss && options
 
         if $VERBOSE
-          warn "This API is deprecated, please pass an emitter, scalar scanner, and options or call #{class}.create() (#{caller.first})"
+          warn "This API is deprecated, please pass an emitter, scalar scanner, and options or call #{self}.create() (#{caller.first})"
         end
         create emitter, ss
       end

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

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