Class: Pact::TextDiffer

Inherits:
Object
  • Object
show all
Defined in:
lib/pact/shared/text_differ.rb

Class Method Summary collapse

Class Method Details

.call(expected, actual, options = {}) ⇒ Object



5
6
7
8
# File 'lib/pact/shared/text_differ.rb', line 5

def self.call expected, actual, options = {}
  require 'pact/matchers' # avoid recursive loop between this file and pact/matchers
  ::Pact::Matchers.diff expected, actual, options
end