Autofix Rubocop Style/FormatString (#23743)
This commit is contained in:
parent
a9472f8ff1
commit
af4c95100c
4 changed files with 3 additions and 13 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue