lib/httpx/resolver/options.rb in httpx-0.7.0 vs lib/httpx/resolver/options.rb in httpx-0.8.0
- old
+ new
@@ -4,18 +4,18 @@
class Resolver::Options
def initialize(options = {})
@options = options
end
- def method_missing(m, *args, &block)
+ def method_missing(m, *, &block)
if @options.key?(m)
@options[m]
else
super
end
end
- def respond_to_missing?(m)
+ def respond_to_missing?(m, *)
@options.key?(m) || super
end
def to_h
@options