Bug #1652 ยป pathname.patch
pathname.rb 2009-06-18 10:47:27.000000000 +0200 | ||
---|---|---|
ensure
|
||
Thread.current[:pathname_sub_matchdata] = old
|
||
end
|
||
yield *args
|
||
yield( *args )
|
||
}
|
||
else
|
||
path = @path.sub(pattern, *rest)
|