Sophie

Sophie

distrib > Mandriva > 2010.2 > i586 > media > main-updates-src > by-pkgid > cf60914b90132dc5e4b12aeaf63d6eef > files > 6

ruby-1.8.7.p249-4.2mdv2010.2.src.rpm

diff -p -up ruby-1.8.7-p249/lib/pathname.rb.warning~ ruby-1.8.7-p249/lib/pathname.rb
--- ruby-1.8.7-p249/lib/pathname.rb.warning~	2010-02-04 23:57:47.014732163 +0100
+++ ruby-1.8.7-p249/lib/pathname.rb	2010-02-05 00:00:59.125481925 +0100
@@ -260,7 +260,7 @@ class Pathname
         ensure
           Thread.current[:pathname_sub_matchdata] = old
         end
-        yield *args
+        yield(*args)
       }
     else
       path = @path.sub(pattern, *rest)