Method: RuboCop::Cop::RSpec::BeEql#eql_type_with_identity
- Defined in:
- lib/rubocop/cop/rspec/be_eql.rb
permalink #eql_type_with_identity(node) ⇒ Object
[View source]
47 48 49 |
# File 'lib/rubocop/cop/rspec/be_eql.rb', line 47 def_node_matcher :eql_type_with_identity, <<~PATTERN (send _ :to $(send nil? :eql {boolean int float sym nil})) PATTERN |