Class: RushCheck::Result
- Inherits:
-
Object
- Object
- RushCheck::Result
- Includes:
- Testable
- Defined in:
- lib/rushcheck/result.rb
Instance Attribute Summary collapse
-
#arguments ⇒ Object
readonly
Returns the value of attribute arguments.
-
#ok ⇒ Object
readonly
Returns the value of attribute ok.
-
#stamp ⇒ Object
readonly
Returns the value of attribute stamp.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(ok = nil, stamp = [], arguments = []) ⇒ Result
constructor
A new instance of Result.
- #result ⇒ Object (also: #property)
Methods included from Testable
#check, #classify, #imply, #label, #run, #run_tests, #silent_check, #test, #testcase, #trivial
Constructor Details
#initialize(ok = nil, stamp = [], arguments = []) ⇒ Result
Returns a new instance of Result.
19 20 21 |
# File 'lib/rushcheck/result.rb', line 19 def initialize(ok=nil, stamp=[], arguments=[]) @ok, @stamp, @arguments = ok, stamp, arguments end |
Instance Attribute Details
#arguments ⇒ Object (readonly)
Returns the value of attribute arguments.
18 19 20 |
# File 'lib/rushcheck/result.rb', line 18 def arguments @arguments end |
#ok ⇒ Object (readonly)
Returns the value of attribute ok.
18 19 20 |
# File 'lib/rushcheck/result.rb', line 18 def ok @ok end |
#stamp ⇒ Object (readonly)
Returns the value of attribute stamp.
18 19 20 |
# File 'lib/rushcheck/result.rb', line 18 def stamp @stamp end |