Make clear that this method discards arguments
This commit is contained in:
parent
dd112ef579
commit
593289a018
@ -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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user