Skip to content

Commit

Permalink
Revert UnboundMethod#bind_call
Browse files Browse the repository at this point in the history
reverts: 988ae7e
  • Loading branch information
notEthan committed Jul 1, 2024
1 parent 790588a commit 71b0a6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/scorpio/request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 71b0a6c

Please sign in to comment.