class FlexMock::EqualMatcher
Match only things that are equal.
Public Class Methods
new(obj)
click to toggle source
# File lib/flexmock/argument_matchers.rb, line 28 def initialize(obj) @obj = obj end
Public Instance Methods
===(target)
click to toggle source
# File lib/flexmock/argument_matchers.rb, line 31 def ===(target) @obj == target end
inspect()
click to toggle source
# File lib/flexmock/argument_matchers.rb, line 34 def inspect "==(#{@obj.inspect})" end