aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/compat
diff options
context:
space:
mode:
authorJack Nagel2013-02-17 22:48:38 -0600
committerJack Nagel2013-02-18 12:13:34 -0600
commitbaffb31aab16e30c850686d42a574495d51cc396 (patch)
treec3cc712e08132bf01945967a6a19a9ba608e253e /Library/Homebrew/compat
parent4a281cd5cf8f722d73a4f50612e8c460f57fddd7 (diff)
downloadbrew-baffb31aab16e30c850686d42a574495d51cc396.tar.bz2
Silence "`*` interpreted as argument prefix" warnings
Diffstat (limited to 'Library/Homebrew/compat')
-rw-r--r--Library/Homebrew/compat/compatibility.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/compat/compatibility.rb b/Library/Homebrew/compat/compatibility.rb
index 41a811a1a..716fdf488 100644
--- a/Library/Homebrew/compat/compatibility.rb
+++ b/Library/Homebrew/compat/compatibility.rb
@@ -244,7 +244,7 @@ end
class Version
def slice *args
opoo "Calling slice on versions is deprecated, use: to_s.slice"
- to_s.slice *args
+ to_s.slice(*args)
end
end