Class: Warp::ModelMatchers::Matcher

Inherits:
Warp::Matcher show all
Defined in:
lib/warp/model_matchers/matcher.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Warp::Matcher

#description_of, #failure_message_for_should, #failure_message_for_should_not, #values_match?

Instance Attribute Details

#model_or_instanceObject (readonly)

Returns the value of attribute model_or_instance.



4
5
6
# File 'lib/warp/model_matchers/matcher.rb', line 4

def model_or_instance
  @model_or_instance
end