Class: Pact::ActualType
- Inherits:
-
ExpectedType
- Object
- 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
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 |