Class/Module Index [+]

Quicksearch

RSpec::Matchers::BuiltIn::Eql

@api private Provides the implementation for `eql`. Not intended to be instantiated directly.

Public Instance Methods

diffable?() click to toggle source

@api private @return [Boolean]

# File lib/rspec/matchers/built_in/eql.rb, line 22
def diffable?
  true
end
failure_message() click to toggle source

@api private @return [String]

# File lib/rspec/matchers/built_in/eql.rb, line 10
def failure_message
  "\nexpected: #{expected.inspect}\n     got: #{actual.inspect}\n\n(compared using eql?)\n"
end
failure_message_when_negated() click to toggle source

@api private @return [String]

# File lib/rspec/matchers/built_in/eql.rb, line 16
def failure_message_when_negated
  "\nexpected: value != #{expected.inspect}\n     got: #{actual.inspect}\n\n(compared using eql?)\n"
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.