Fix Performance/StringIdentifierArgument cop (#28508)

This commit is contained in:
Matt Jankowski 2023-12-29 05:23:30 -05:00 committed by GitHub
parent 63901bb34b
commit 128c5b7db3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,7 @@ module Remotable
public_send(:"download_#{attachment_name}!", url) if download_on_assign public_send(:"download_#{attachment_name}!", url) if download_on_assign
end end
alias_method(:"reset_#{attachment_name}!", "download_#{attachment_name}!") alias_method(:"reset_#{attachment_name}!", :"download_#{attachment_name}!")
end end
end end
end end