Exception: AssertType::TypeAssertionError
- Inherits:
-
AssertionError
- Object
- RuntimeError
- Error
- AssertionError
- AssertType::TypeAssertionError
- Defined in:
- lib/assert_type/type_assertion_error.rb
Instance Attribute Summary
Attributes inherited from AssertionError
Instance Method Summary collapse
Methods inherited from AssertionError
Constructor Details
This class inherits a constructor from AssertType::AssertionError
Instance Method Details
#message ⇒ Object
6 7 8 |
# File 'lib/assert_type/type_assertion_error.rb', line 6 def "assertion failed - expected #{@expected} but was #{@actual.inspect}" end |