diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-05-18 12:41:08 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-05-18 12:41:08 +0000 |
commit | 8ce34a86a27b9fc05fe5d35d387e34f8ab217531 (patch) | |
tree | f9308fc0371a3fa34288011c4279d5c8c1f5b4f1 /lib | |
parent | 65750099298c2b8fc2499396976ccac1077af6ed (diff) |
* lib/pathname.rb (Pathname#sub): suppress a warning. [ruby-dev:38488]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 7b7ed374ea..8af8957c7b 100644 --- a/lib/pathname.rb +++ b/lib/pathname.rb @@ -270,7 +270,7 @@ class Pathname ensure Thread.current[:pathname_sub_matchdata] = old end - yield *args + yield(*args) } else path = @path.sub(pattern, *rest) |