Make clear that this method discards arguments

This commit is contained in:
Jack Nagel 2013-03-28 17:37:28 -05:00
parent dd112ef579
commit 593289a018

View File

@ -694,7 +694,7 @@ private
instance_eval(&block) instance_eval(&block)
end end
def bottle url=nil, &block def bottle *, &block
return @bottle unless block_given? return @bottle unless block_given?
@bottle ||= Bottle.new @bottle ||= Bottle.new
@bottle.instance_eval(&block) @bottle.instance_eval(&block)