ruby-changes:1761
From: ko1@a...
Date: 25 Aug 2007 03:10:50 +0900
Subject: [ruby-changes:1761] ko1 - Ruby:r13252 (trunk): * prelude.rb: fix Mutex#synchronize definition.
ko1 2007-08-25 03:10:37 +0900 (Sat, 25 Aug 2007) New Revision: 13252 Modified files: trunk/ChangeLog trunk/prelude.rb Log: * prelude.rb: fix Mutex#synchronize definition. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/prelude.rb?r1=13252&r2=13251 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=13252&r2=13251 Index: prelude.rb =================================================================== --- prelude.rb (revision 13251) +++ prelude.rb (revision 13252) @@ -2,13 +2,11 @@ # Mutex class Mutex - class Mutex - def synchronize - self.lock - yield - ensure - self.unlock - end + def synchronize + self.lock + yield + ensure + self.unlock end end Index: ChangeLog =================================================================== --- ChangeLog (revision 13251) +++ ChangeLog (revision 13252) @@ -1,3 +1,7 @@ +Sat Aug 25 03:08:57 2007 Koichi Sasada <ko1@a...> + + * prelude.rb: fix Mutex#synchronize definition. + Sat Aug 25 02:08:45 2007 Yukihiro Matsumoto <matz@r...> * array.c (rb_ary_s_try_convert): a new class method to convert -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml