ManageIQ/manageiq-smartstate

View on GitHub
lib/MiqVm/test/localVm.rb

Summary

Maintainability
A
0 mins
Test Coverage

Redundant use of Object#to_s in puts.
Open

  puts err.to_s
Severity: Minor
Found in lib/MiqVm/test/localVm.rb by rubocop

Checks for string conversion in string interpolation, print, puts, and warn arguments, which is redundant.

Example:

# bad

"result is #{something.to_s}"
print something.to_s
puts something.to_s
warn something.to_s

Example:

# good

"result is #{something}"
print something
puts something
warn something

There are no issues that match your filters.

Category
Status