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
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