Merge pull request #10165 from wangjohn/public_send_for_instance
Using public send instead of send for the PerThreadRegistry module.
This commit is contained in:
commit
4658b0d48c
@ -35,7 +35,7 @@ def instance
|
||||
protected
|
||||
|
||||
def method_missing(*args, &block)
|
||||
instance.send(*args, &block)
|
||||
instance.public_send(*args, &block)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user