Match only things that are equal.
Methods
Public Class methods
[ show source ]
# File lib/flexmock/argument_matchers.rb, line 29
29: def initialize(obj)
30: @obj = obj
31: end
Public Instance methods
[ show source ]
# File lib/flexmock/argument_matchers.rb, line 32
32: def ===(target)
33: @obj == target
34: end
[ show source ]
# File lib/flexmock/argument_matchers.rb, line 35
35: def inspect
36: "==(#{@obj.inspect})"
37: end