0
0
Fork 0

Autofix Rubocop Style/FormatString (#23743)

This commit is contained in:
Nick Schonning 2023-02-20 01:58:33 -05:00 committed by GitHub
parent a9472f8ff1
commit af4c95100c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 13 deletions

View file

@ -183,7 +183,7 @@ module Paperclip
end
def rgb_to_hex(rgb)
'#%02x%02x%02x' % [rgb.r, rgb.g, rgb.b]
format('#%02x%02x%02x', rgb.r, rgb.g, rgb.b)
end
end
end