class DynportTools::HaveAttributesMatcher::ReturnValues
Public Instance Methods
matches?(target)
click to toggle source
Calls superclass method
DynportTools::HaveAttributesMatcher::HaveAttributes#matches?
# File lib/dynport_tools/have_attributes.rb, line 32 def matches?(target) differ.use_return = true super(@expected.keys.inject({}) { |hash, key| hash.merge!(key => target.send(key)) }) end