lib/mittsu/opengl/shader/chunk.rb
Redundant use of Object#to_s
in interpolation. Open
Open
file_name = "#{key.to_s}.glsl"
- 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}"