Class: Proof::Result
- Inherits:
-
Object
- Object
- Proof::Result
- Includes:
- Initializer
- Defined in:
- lib/proof/result.rb
Instance Method Summary collapse
Instance Method Details
#output_method ⇒ Object
12 13 14 15 16 17 |
# File 'lib/proof/result.rb', line 12 def output_method if status == :error return :fail end return status end |
#write ⇒ Object
7 8 9 10 |
# File 'lib/proof/result.rb', line 7 def write Output.write output_method, description Error.output error if status == :error end |