Method: RSpec::Matchers#eql
- Defined in:
- lib/rspec/matchers.rb
#eql(expected) ⇒ Object Also known as: an_object_eql_to, eql_to
Passes if actual.eql?(expected)
See http://www.ruby-doc.org/core/classes/Object.html#M001057 for more information about equality in Ruby.
572 573 574 |
# File 'lib/rspec/matchers.rb', line 572 def eql(expected) BuiltIn::Eql.new(expected) end |