Showing 1 of 1 total issue
Redundant use of Object#to_s
in interpolation. Open
Open
url = "#{API_HOST}/api/users/#{options[:user]}/photo/#{options[:id].to_s}/"
- Read upRead up
- Exclude checks
This cop checks for string conversion in string interpolation, which is redundant.
Example:
# bad
"result is #{something.to_s}"
Example:
# good
"result is #{something}"