From 593289a01809c7332472fe4fd0e2710cde8286e7 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Thu, 28 Mar 2013 17:37:28 -0500 Subject: [PATCH] Make clear that this method discards arguments --- Library/Homebrew/formula.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 562d04ff87..80e2e478c4 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)