Navigation Menu

Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
Make clear that this method discards arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
jacknagel committed Mar 28, 2013
1 parent 91636ea commit 1bff4c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/formula.rb
Expand Up @@ -694,7 +694,7 @@ def stable &block
instance_eval(&block)
end

def bottle url=nil, &block
def bottle *, &block
return @bottle unless block_given?
@bottle ||= Bottle.new
@bottle.instance_eval(&block)
Expand Down

0 comments on commit 1bff4c6

Please sign in to comment.