lib/phoneme_maps.rb
Redundant use of Object#to_s
in interpolation. Open
Open
load_file "#{FILE_DIRECTORY}/#{symbol.to_s}.json"
- 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}"