danini-the-panini/mittsu-opengl

View on GitHub
lib/mittsu/opengl/shader/chunk.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

Redundant use of Object#to_s in interpolation.
Open

      file_name = "#{key.to_s}.glsl"
Severity: Minor
Found in lib/mittsu/opengl/shader/chunk.rb by rubocop

This cop checks for string conversion in string interpolation, which is redundant.

Example:

# bad

"result is #{something.to_s}"

Example:

# good

"result is #{something}"

There are no issues that match your filters.

Category
Status