Class: Pact::ActualType

Inherits:
ExpectedType show all
Defined in:
lib/pact/matchers/actual_type.rb

Instance Method Summary collapse

Methods inherited from ExpectedType

#==, #as_json, #eq?, #to_json, #type

Methods inherited from DifferenceIndicator

#==, #as_json, #eql?, #to_json

Methods included from ActiveSupportSupport

#fix_all_the_things, #fix_json_formatting, #fix_regexp, #remove_unicode, #warn_about_regexp

Constructor Details

#initialize(value) ⇒ ActualType

Returns a new instance of ActualType.



7
8
9
# File 'lib/pact/matchers/actual_type.rb', line 7

def initialize value
  @value = value
end

Instance Method Details

#to_sObject



11
12
13
# File 'lib/pact/matchers/actual_type.rb', line 11

def to_s
  type
end