lib/httpx/chainable.rb in httpx-0.16.1 vs lib/httpx/chainable.rb in httpx-0.17.0
- old
+ new
@@ -76,10 +76,10 @@
return super unless option
with(option.to_sym => (args.first || options))
end
- def respond_to_missing?(meth)
+ def respond_to_missing?(meth, *)
return super unless meth =~ /\Awith_(.+)/
option = Regexp.last_match(1)
default_options.respond_to?(option) || super