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
commitee25d02d54aeb4c3a0c75b4cdee276706f610576 (patch)
tree6858bd34244fc3ea2d7613773a9435ee72eb9934 /Library/Homebrew/compat
parent923a00ca08f70448e4e4b73d08f0d9eed400c98b (diff)
downloadhomebrew-ee25d02d54aeb4c3a0c75b4cdee276706f610576.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