Flowdock
method

==

Importance_0
RSpec latest stable (1.3.1) - 0 notes - Class: Spec::Mocks::HashIncludingConstraint
==(actual) public

No documentation

This method has no description. You can help the RSpec community by adding new notes.

Hide source
# File lib/spec/mocks/argument_expectation.rb, line 117
      def ==(actual)
        @expected.each do | key, value |
          # check key for case that value evaluates to nil
          return false unless actual.has_key?(key) && actual[key] == value
        end
        true
      rescue NoMethodError => ex
        return false
      end
Register or log in to add new notes.