Sha256: d2c530ac7db2e1f090380f427509c040017dc3b915cb4d2201af5871064147df

Contents?: true

Size: 378 Bytes

Versions: 1

Compression:

Stored size: 378 Bytes

Contents

require 'pact/consumer_contract/active_support_support'

module Pact
  class DifferenceIndicator

    include ActiveSupportSupport

    def == other
      other.is_a? 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

1 entries across 1 versions & 1 rubygems

Version Path
pact-1.0.39 lib/pact/matchers/difference_indicator.rb