FitnessKeeper/leeroy

View on GitHub
lib/leeroy/task/base.rb

Summary

Maintainability
A
0 mins
Test Coverage

Redundant use of Object#to_s in interpolation.
Open

          logger.info("performing #{self.class.to_s}")
Severity: Minor
Found in lib/leeroy/task/base.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