Sha256: 35f40f0890a33bc3dd85950cab86bad4aeaa33a8915c2f7a860ed12c6898cae1
Contents?: true
Size: 472 Bytes
Versions: 121
Compression:
Stored size: 472 Bytes
Contents
require 'pact/matchers/difference_indicator' module Pact class ExpectedType < Pact::DifferenceIndicator def initialize value @value = value end def type @value.class.name end def to_json options = {} type end def as_json options = {} type end def eq? other self.class == other.class && other.type == type end def == other eq? other end def to_s type end end end
Version data entries
121 entries across 121 versions & 3 rubygems