Class Spec::Mocks::ArgumentMatchers::EqualityProxy

  1. lib/spec/mocks/argument_matchers.rb
Parent: Object

Methods

public class

  1. new

public instance

  1. ==

Public class methods

new (given)
[show source]
# File lib/spec/mocks/argument_matchers.rb, line 112
        def initialize(given)
          @given = given
        end

Public instance methods

== (expected)
[show source]
# File lib/spec/mocks/argument_matchers.rb, line 116
        def ==(expected)
          @given == expected
        end