Pattern: Redundant string coercion
Issue: -
This rule checks for string conversion in string interpolation, which is redundant.
# bad
"result is #{something.to_s}"
# good
"result is #{something}"
Pattern: Redundant string coercion
Issue: -
This rule checks for string conversion in string interpolation, which is redundant.
# bad
"result is #{something.to_s}"
# good
"result is #{something}"