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

ruby-changes:19175

From: tenderlove <ko1@a...>
Date: Wed, 30 Mar 2011 12:55:25 +0900 (JST)
Subject: [ruby-changes:19175] Ruby:r31214 (trunk): fixing syntax error in 1.8

tenderlove	2011-03-30 12:52:07 +0900 (Wed, 30 Mar 2011)

  New Revision: 31214

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

  Log:
    fixing syntax error in 1.8

  Modified files:
    trunk/test/psych/test_psych.rb

Index: test/psych/test_psych.rb
===================================================================
--- test/psych/test_psych.rb	(revision 31213)
+++ test/psych/test_psych.rb	(revision 31214)
@@ -99,7 +99,7 @@
 
   def test_add_builtin_type
     got = nil
-    Psych.add_builtin_type 'omap', do |type, val|
+    Psych.add_builtin_type 'omap' do |type, val|
       got = val
     end
     Psych.load('--- !!omap hello')

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

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