Skip to content
Snippets Groups Projects
Commit 593289a0 authored by Jack Nagel's avatar Jack Nagel
Browse files

Make clear that this method discards arguments

parent dd112ef5
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment