Class: Pact::ActualType
- Inherits:
-
ExpectedType
- Object
- DifferenceIndicator
- ExpectedType
- Pact::ActualType
- Defined in:
- lib/pact/matchers/actual_type.rb
Instance Method Summary collapse
-
#initialize(value) ⇒ ActualType
constructor
A new instance of ActualType.
- #to_s ⇒ Object
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_s ⇒ Object
11 12 13 |
# File 'lib/pact/matchers/actual_type.rb', line 11 def to_s type end |