From 71b0a6c443e651660b28174bcf93ce72e9f46fe5 Mon Sep 17 00:00:00 2001 From: Ethan Date: Mon, 1 Jul 2024 13:53:13 -0700 Subject: [PATCH] Revert UnboundMethod#bind_call reverts: 988ae7e24f2e1a52d6a04451dc63fcc95463981f --- lib/scorpio/request.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/scorpio/request.rb b/lib/scorpio/request.rb index c2b7b76..17f59a8 100644 --- a/lib/scorpio/request.rb +++ b/lib/scorpio/request.rb @@ -149,7 +149,7 @@ def initialize(configuration = {}, &b) # do the Configurables first configuration.each do |name, value| if Configurables.public_method_defined?("#{name}=") - Configurables.instance_method("#{name}=").bind_call(self, value) + Configurables.instance_method("#{name}=").bind(self).call(value) params_set << name end end