Class: RuboCop::Cop::Minitest::RefuteKindOf
- Inherits:
-
Base
- Object
- Base
- RuboCop::Cop::Minitest::RefuteKindOf
- Extended by:
- RuboCop::Cop::MinitestCopRule
- Defined in:
- lib/rubocop/cop/minitest/refute_kind_of.rb
Overview
Enforces the use of ‘refute_kind_of(Class, object)` over `refute(object.kind_of?(Class))`.