Class: Assert::Result::Error
- Inherits:
-
FromException
- Object
- Base
- FromException
- Assert::Result::Error
- Defined in:
- lib/assert/result.rb,
lib/assert/result.rb
Instance Attribute Summary
Attributes inherited from Base
#backtrace, #message, #test_name
Instance Method Summary collapse
- #error? ⇒ Boolean
- #to_s ⇒ Object
- #to_sym ⇒ Object
-
#trace ⇒ Object
override of the base, always show the full unfiltered backtrace for errors.
Methods inherited from FromException
Methods inherited from Base
Constructor Details
This class inherits a constructor from Assert::Result::FromException
Instance Method Details
#error? ⇒ Boolean
159 |
# File 'lib/assert/result.rb', line 159 def error?; true; end |
#to_s ⇒ Object
162 163 164 |
# File 'lib/assert/result.rb', line 162 def to_s "ERROR: #{super}" end |
#to_sym ⇒ Object
160 |
# File 'lib/assert/result.rb', line 160 def to_sym; :errored; end |
#trace ⇒ Object
override of the base, always show the full unfiltered backtrace for errors
167 168 169 |
# File 'lib/assert/result.rb', line 167 def trace self.backtrace.to_s end |