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

ruby-changes:14986

From: nahi <ko1@a...>
Date: Tue, 9 Mar 2010 22:59:29 +0900 (JST)
Subject: [ruby-changes:14986] Ruby:r26859 (ruby_1_8): fixed syntax error introduced in the previous commit.

nahi	2010-03-09 22:59:16 +0900 (Tue, 09 Mar 2010)

  New Revision: 26859

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

  Log:
    fixed syntax error introduced in the previous commit.

  Modified files:
    branches/ruby_1_8/test/openssl/test_ns_spki.rb

Index: ruby_1_8/test/openssl/test_ns_spki.rb
===================================================================
--- ruby_1_8/test/openssl/test_ns_spki.rb	(revision 26858)
+++ ruby_1_8/test/openssl/test_ns_spki.rb	(revision 26859)
@@ -22,16 +22,6 @@
 
   def teardown
   end
-def pr(obj, ind=0)
-  if obj.respond_to?(:value)
-    puts((" "*ind) + obj.class.to_s + ":")
-    pr(obj.value,(ind+1))
-  elsif obj.respond_to?(:each) && !(String===obj)
-    obj.each {|v| pr(v,ind+1) }
-  else
-    puts((" "*ind) + obj.inspect)
-  end
-end
 
   def test_build_data
     key1 = OpenSSL::TestUtils::TEST_KEY_RSA1024

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

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