Class: TestBench::Output::BatchData
- Inherits:
-
Struct
- Object
- Struct
- TestBench::Output::BatchData
- Defined in:
- lib/test_bench/output/batch_data.rb
Instance Attribute Summary collapse
-
#depth ⇒ Object
Returns the value of attribute depth.
-
#result ⇒ Object
Returns the value of attribute result.
Instance Method Summary collapse
Instance Attribute Details
#depth ⇒ Object
Returns the value of attribute depth
3 4 5 |
# File 'lib/test_bench/output/batch_data.rb', line 3 def depth @depth end |
#result ⇒ Object
Returns the value of attribute result
3 4 5 |
# File 'lib/test_bench/output/batch_data.rb', line 3 def result @result end |
Instance Method Details
#failed? ⇒ Boolean
8 9 10 |
# File 'lib/test_bench/output/batch_data.rb', line 8 def failed? !result end |
#passed? ⇒ Boolean
4 5 6 |
# File 'lib/test_bench/output/batch_data.rb', line 4 def passed? result end |
#toplevel? ⇒ Boolean
12 13 14 |
# File 'lib/test_bench/output/batch_data.rb', line 12 def toplevel? depth.zero? end |