diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pathname.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pathname.rb b/lib/pathname.rb index 86c4b98ee7..84196355a6 100644 --- a/lib/pathname.rb +++ b/lib/pathname.rb @@ -260,7 +260,7 @@ class Pathname ensure Thread.current[:pathname_sub_matchdata] = old end - yield *args + yield(*args) } else path = @path.sub(pattern, *rest) |