Class: Minitest::Requeue
- Inherits:
-
Skip
- Object
- Skip
- Minitest::Requeue
- Defined in:
- lib/minitest/queue.rb
Instance Attribute Summary collapse
-
#failure ⇒ Object
readonly
Returns the value of attribute failure.
Instance Method Summary collapse
- #backtrace ⇒ Object
- #error ⇒ Object
-
#initialize(failure) ⇒ Requeue
constructor
A new instance of Requeue.
- #message ⇒ Object
- #result_label ⇒ Object
Constructor Details
#initialize(failure) ⇒ Requeue
Returns a new instance of Requeue.
23 24 25 26 |
# File 'lib/minitest/queue.rb', line 23 def initialize(failure) super() @failure = failure end |
Instance Attribute Details
#failure ⇒ Object (readonly)
Returns the value of attribute failure.
21 22 23 |
# File 'lib/minitest/queue.rb', line 21 def failure @failure end |
Instance Method Details
#backtrace ⇒ Object
32 33 34 |
# File 'lib/minitest/queue.rb', line 32 def backtrace failure.backtrace end |
#error ⇒ Object
36 37 38 |
# File 'lib/minitest/queue.rb', line 36 def error failure.error end |
#message ⇒ Object
40 41 42 |
# File 'lib/minitest/queue.rb', line 40 def failure. end |
#result_label ⇒ Object
28 29 30 |
# File 'lib/minitest/queue.rb', line 28 def result_label "Requeued" end |