This project is closed and read-only.
Backport #1485 ยป pathname_warning.patch
| lib/pathname.rb 2010-01-12 09:31:05.000000000 +1300 | ||
|---|---|---|
|
ensure
|
||
|
Thread.current[:pathname_sub_matchdata] = old
|
||
|
end
|
||
|
yield *args
|
||
|
yield( *args)
|
||
|
}
|
||
|
else
|
||
|
path = @path.sub(pattern, *rest)
|
||