Class: Testo::Test::Report
- Inherits:
-
Object
- Object
- Testo::Test::Report
- Defined in:
- lib/testo/test.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
readonly
Returns the value of attribute error.
-
#it ⇒ Object
readonly
Returns the value of attribute it.
-
#test ⇒ Object
readonly
Returns the value of attribute test.
Instance Method Summary collapse
- #debug ⇒ Object
-
#initialize(message) ⇒ Report
constructor
A new instance of Report.
- #ok? ⇒ Boolean
Constructor Details
#initialize(message) ⇒ Report
Returns a new instance of Report.
5 6 7 |
# File 'lib/testo/test.rb', line 5 def initialize @test, @error, @it = .values_at :test, :error, :it end |
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error.
4 5 6 |
# File 'lib/testo/test.rb', line 4 def error @error end |
#it ⇒ Object (readonly)
Returns the value of attribute it.
4 5 6 |
# File 'lib/testo/test.rb', line 4 def it @it end |
#test ⇒ Object (readonly)
Returns the value of attribute test.
4 5 6 |
# File 'lib/testo/test.rb', line 4 def test @test end |
Instance Method Details
#debug ⇒ Object
13 14 15 |
# File 'lib/testo/test.rb', line 13 def debug test.debug it end |
#ok? ⇒ Boolean
9 10 11 |
# File 'lib/testo/test.rb', line 9 def ok? not error end |