lib/faraday/rack_builder.rb in faraday-0.9.0.rc6 vs lib/faraday/rack_builder.rb in faraday-0.9.0.rc7
- old
+ new
@@ -61,10 +61,10 @@
end
def build(options = {})
raise_if_locked
@handlers.clear unless options[:keep]
- yield self if block_given?
+ yield(self) if block_given?
end
def [](idx)
@handlers[idx]
end