Class: Pact::Matchers::Difference
- Inherits:
-
BaseDifference
- Object
- BaseDifference
- Pact::Matchers::Difference
- Defined in:
- lib/pact/matchers/difference.rb
Instance Attribute Summary
Attributes inherited from BaseDifference
Instance Method Summary collapse
Methods inherited from BaseDifference
#==, #any?, #empty?, #initialize, #to_json, #to_s
Constructor Details
This class inherits a constructor from Pact::Matchers::BaseDifference
Instance Method Details
#as_json(options = {}) ⇒ Object
7 8 9 |
# File 'lib/pact/matchers/difference.rb', line 7 def as_json = {} {:EXPECTED => expected, :ACTUAL => actual} end |