Project

General

Profile

Bug #1652 ยป pathname.patch

patch adding the ( ) around yield's params in #270 - RobertDober (Robert Dober), 06/18/2009 05:52 PM

View differences:

pathname.rb 2009-06-18 10:47:27.000000000 +0200
267 267
        ensure
268 268
          Thread.current[:pathname_sub_matchdata] = old
269 269
        end
270
        yield *args
270
        yield( *args )
271 271
      }
272 272
    else
273 273
      path = @path.sub(pattern, *rest)