Sha256: 3c6f5f4809267132466f1942527d4992fcf33ebdba3fbdeed7f950aa60846593

Contents?: true

Size: 370 Bytes

Versions: 121

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

121 entries across 121 versions & 3 rubygems

Version Path
pact-support-0.1.4 lib/pact/matchers/difference_indicator.rb
pact-support-0.2.0 lib/pact/matchers/difference_indicator.rb
pact-support-0.1.3 lib/pact/matchers/difference_indicator.rb
pact-support-0.1.2 lib/pact/matchers/difference_indicator.rb
pact-support-0.1.1 lib/pact/matchers/difference_indicator.rb
pact-support-0.1.0 lib/pact/matchers/difference_indicator.rb
pact-support-0.0.4 lib/pact/matchers/difference_indicator.rb
pact-support-0.0.3 lib/pact/matchers/difference_indicator.rb
pact-support-0.0.2 lib/pact/matchers/difference_indicator.rb
pact-support-0.0.1 lib/pact/matchers/difference_indicator.rb
pact-1.3.3 lib/pact/matchers/difference_indicator.rb
pact-1.3.2 lib/pact/matchers/difference_indicator.rb
pact-1.3.1 lib/pact/matchers/difference_indicator.rb
pact-1.3.0 lib/pact/matchers/difference_indicator.rb
pact-1.2.1.rc2 lib/pact/matchers/difference_indicator.rb
pact-1.2.1.rc1 lib/pact/matchers/difference_indicator.rb
pact-1.1.1 lib/pact/matchers/difference_indicator.rb
pact-1.1.0 lib/pact/matchers/difference_indicator.rb
pact-1.1.0.rc5 lib/pact/matchers/difference_indicator.rb
pact-1.1.0.rc4 lib/pact/matchers/difference_indicator.rb