lib/leeroy/task/base.rb
Redundant use of Object#to_s
in interpolation. Open
Open
logger.info("performing #{self.class.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}"