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 29
def initialize(obj)
  @obj = obj
end

Public Instance Methods

===(target) click to toggle source
# File lib/flexmock/argument_matchers.rb, line 32
def ===(target)
  @obj == target
end
inspect() click to toggle source
# File lib/flexmock/argument_matchers.rb, line 35
def inspect
  "==(#{@obj.inspect})"
end