class FlexMock::EqualMatcher
Match only things that are equal.
Public Class Methods
Source
# File lib/flexmock/argument_matchers.rb, line 29 def initialize(obj) @obj = obj end
Public Instance Methods
Source
# File lib/flexmock/argument_matchers.rb, line 32 def ===(target) @obj == target end
Source
# File lib/flexmock/argument_matchers.rb, line 35 def inspect "==(#{@obj.inspect})" end