DEV: More send -> public_send.

This commit is contained in:
Guo Xiang Tan
2019-05-07 10:05:58 +08:00
parent cac80cdc3b
commit 451f7842ff
5 changed files with 6 additions and 6 deletions

View File

@ -524,7 +524,7 @@ class Plugin::Instance
provider = Auth::AuthProvider.new
Auth::AuthProvider.auth_attributes.each do |sym|
provider.send "#{sym}=", opts.delete(sym) if opts.has_key?(sym)
provider.public_send("#{sym}=", opts.delete(sym)) if opts.has_key?(sym)
end
begin