ruby-changes:2750
From: ko1@a...
Date: 15 Dec 2007 20:21:18 +0900
Subject: [ruby-changes:2750] akr - Ruby:r14241 (trunk): avoid ruby -d test/ruby/test_marshal.rb output binary marshaled data.
akr 2007-12-15 20:20:45 +0900 (Sat, 15 Dec 2007)
New Revision: 14241
Modified files:
trunk/test/ruby/marshaltestlib.rb
Log:
avoid ruby -d test/ruby/test_marshal.rb output binary marshaled data.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/test/ruby/marshaltestlib.rb?r1=14241&r2=14240
Index: test/ruby/marshaltestlib.rb
===================================================================
--- test/ruby/marshaltestlib.rb (revision 14240)
+++ test/ruby/marshaltestlib.rb (revision 14241)
@@ -17,7 +17,7 @@
def marshaltest(o1)
str = encode(o1)
- print str, "\n" if $DEBUG
+ print str.dump, "\n" if $DEBUG
o2 = decode(str)
o2
end
--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml