Class: RushCheck::TestResult

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

Direct Known Subclasses

TestExausted, TestOk

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, ntests, stamps) ⇒ TestResult

Returns a new instance of TestResult.



8
9
10
# File 'lib/rushcheck/testresult.rb', line 8

def initialize(message, ntests, stamps)
  @message, @ntest, @stamps = message, ntests, stamps
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



7
8
9
# File 'lib/rushcheck/testresult.rb', line 7

def message
  @message
end

#ntestsObject (readonly)

Returns the value of attribute ntests.



7
8
9
# File 'lib/rushcheck/testresult.rb', line 7

def ntests
  @ntests
end

#stampsObject (readonly)

Returns the value of attribute stamps.



7
8
9
# File 'lib/rushcheck/testresult.rb', line 7

def stamps
  @stamps
end