codeclimate/codeclimate-rubocop

View on GitHub
config/contents/style/case_equality.md

Summary

Maintainability
Test Coverage
This cop checks for uses of the case equality operator(===).

### Example:
    # bad
    Array === something
    (1..100) === 7
    /something/ === some_string

    # good
    something.is_a?(Array)
    (1..100).include?(7)
    some_string =~ /something/