Class: RushCheck::TestFailed
- Inherits:
-
Object
- Object
- RushCheck::TestFailed
- Defined in:
- lib/rushcheck/testresult.rb
Instance Attribute Summary collapse
-
#ntests ⇒ Object
readonly
Returns the value of attribute ntests.
-
#results ⇒ Object
readonly
Returns the value of attribute results.
Instance Method Summary collapse
-
#initialize(results, ntests) ⇒ TestFailed
constructor
A new instance of TestFailed.
Constructor Details
#initialize(results, ntests) ⇒ TestFailed
Returns a new instance of TestFailed.
19 20 21 |
# File 'lib/rushcheck/testresult.rb', line 19 def initialize(results, ntests) @results, @ntests = results, ntests end |
Instance Attribute Details
#ntests ⇒ Object (readonly)
Returns the value of attribute ntests.
18 19 20 |
# File 'lib/rushcheck/testresult.rb', line 18 def ntests @ntests end |
#results ⇒ Object (readonly)
Returns the value of attribute results.
18 19 20 |
# File 'lib/rushcheck/testresult.rb', line 18 def results @results end |