Fix Style/FormatStringToken
cop (#34861)
This commit is contained in:
parent
1b11bb23d7
commit
0d5123199f
3 changed files with 2 additions and 11 deletions
|
@ -239,7 +239,7 @@ module Paperclip
|
|||
end
|
||||
|
||||
def rgb_to_hex(rgb)
|
||||
format('#%02x%02x%02x', rgb.r, rgb.g, rgb.b)
|
||||
format('#%02x%02x%02x', rgb.r, rgb.g, rgb.b) # rubocop:disable Style/FormatStringToken
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue