Autofix Rubocop Style/FormatString (#23743)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user