aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-03-28 17:37:28 -0500
committerJack Nagel2013-03-28 17:37:28 -0500
commit593289a01809c7332472fe4fd0e2710cde8286e7 (patch)
treec2c8ea98ae1a083e3a9f923c412c04c4f14f7251 /Library
parentdd112ef57957fc1a0bd56064c511581b5b670ecd (diff)
downloadbrew-593289a01809c7332472fe4fd0e2710cde8286e7.tar.bz2
Make clear that this method discards arguments
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 562d04ff8..80e2e478c 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -694,7 +694,7 @@ private
instance_eval(&block)
end
- def bottle url=nil, &block
+ def bottle *, &block
return @bottle unless block_given?
@bottle ||= Bottle.new
@bottle.instance_eval(&block)