Class: Pact::Matchers::RegexpDifference
- Inherits:
-
BaseDifference
- Object
- BaseDifference
- Pact::Matchers::RegexpDifference
- Defined in:
- lib/pact/matchers/regexp_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/regexp_difference.rb', line 7 def as_json = {} {:EXPECTED_TO_MATCH => expected.inspect, :ACTUAL => actual} end |