mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
String#downcase, upcase, and swapcase are public methods
This commit is contained in:
parent
87ae294f36
commit
4e9a4519b7
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ module ActiveSupport
|
|||
will be removed from Rails 6.1. Use String methods directly.
|
||||
MSG
|
||||
|
||||
string.send(method)
|
||||
string.public_send(method)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue