Sha256: 3c6f5f4809267132466f1942527d4992fcf33ebdba3fbdeed7f950aa60846593

Contents?: true

Size: 370 Bytes

Versions: 120

Compression:

Stored size: 370 Bytes

Contents

require 'pact/shared/active_support_support'

module Pact
  class DifferenceIndicator

    include ActiveSupportSupport

    def == other
      other.class == self.class
    end

    def eql? other
      self == other
    end

    def to_json options = {}
      remove_unicode as_json.to_json(options)
    end

    def as_json options = {}
      to_s
    end

  end

end

Version data entries

120 entries across 120 versions & 3 rubygems

Version Path
pact-support-1.21.1 lib/pact/matchers/difference_indicator.rb
pact-support-1.21.0 lib/pact/matchers/difference_indicator.rb
pact-support-1.20.2 lib/pact/matchers/difference_indicator.rb
pact-support-1.20.1 lib/pact/matchers/difference_indicator.rb
pact-support-1.20.0 lib/pact/matchers/difference_indicator.rb
pact-support-1.19.0 lib/pact/matchers/difference_indicator.rb
pact-support-1.18.1 lib/pact/matchers/difference_indicator.rb
pact-support-1.18.0 lib/pact/matchers/difference_indicator.rb
hs-pact-support-1.17.1 lib/pact/matchers/difference_indicator.rb
pact-support-1.17.0 lib/pact/matchers/difference_indicator.rb
pact-support-1.16.10 lib/pact/matchers/difference_indicator.rb
pact-support-1.16.9 lib/pact/matchers/difference_indicator.rb
pact-support-1.16.8 lib/pact/matchers/difference_indicator.rb
pact-support-1.16.7 lib/pact/matchers/difference_indicator.rb
pact-support-1.16.6 lib/pact/matchers/difference_indicator.rb
pact-support-1.16.5 lib/pact/matchers/difference_indicator.rb
pact-support-1.16.4 lib/pact/matchers/difference_indicator.rb
pact-support-1.16.3 lib/pact/matchers/difference_indicator.rb
pact-support-1.16.2 lib/pact/matchers/difference_indicator.rb
pact-support-1.17.0.pre.rc2 lib/pact/matchers/difference_indicator.rb