AnalyzePlatypus/TranslitKit

View on GitHub
lib/phoneme_maps.rb

Summary

Maintainability
A
0 mins
Test Coverage

Redundant use of Object#to_s in interpolation.
Open

  load_file "#{FILE_DIRECTORY}/#{symbol.to_s}.json"
Severity: Minor
Found in lib/phoneme_maps.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