lib/httpx/options.rb in httpx-1.3.0 vs lib/httpx/options.rb in httpx-1.3.1

- old
+ new

@@ -218,9 +218,10 @@ io fallback_protocol debug debug_level resolver_class resolver_options compress_request_body decompress_response_body persistent ].each do |method_name| class_eval(<<-OUT, __FILE__, __LINE__ + 1) + # sets +v+ as the value of #{method_name} def option_#{method_name}(v); v; end # def option_smth(v); v; end OUT end REQUEST_BODY_IVARS = %i[@headers].freeze