Class: RushCheck::TestFailed

Inherits:
Object
  • Object
show all
Defined in:
lib/rushcheck/testresult.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#ntestsObject (readonly)

Returns the value of attribute ntests.



18
19
20
# File 'lib/rushcheck/testresult.rb', line 18

def ntests
  @ntests
end

#resultsObject (readonly)

Returns the value of attribute results.



18
19
20
# File 'lib/rushcheck/testresult.rb', line 18

def results
  @results
end