Class: OnlyofficeTestrailWrapper::ExampleLPVException
- Inherits:
-
Object
- Object
- OnlyofficeTestrailWrapper::ExampleLPVException
- Defined in:
- lib/onlyoffice_testrail_wrapper/testrail_helper/example_lpv_exception.rb
Overview
Class for example with LPV exception
Instance Method Summary collapse
-
#comment ⇒ String
Comment for this exception.
-
#initialize(example) ⇒ ExampleLPVException
constructor
A new instance of ExampleLPVException.
-
#result ⇒ Symbol
Result of this exception.
Constructor Details
#initialize(example) ⇒ ExampleLPVException
Returns a new instance of ExampleLPVException.
6 7 8 |
# File 'lib/onlyoffice_testrail_wrapper/testrail_helper/example_lpv_exception.rb', line 6 def initialize(example) @example = example end |
Instance Method Details
#comment ⇒ String
Returns comment for this exception.
16 17 18 |
# File 'lib/onlyoffice_testrail_wrapper/testrail_helper/example_lpv_exception.rb', line 16 def comment "\n#{@example.exception}" end |
#result ⇒ Symbol
Returns result of this exception.
11 12 13 |
# File 'lib/onlyoffice_testrail_wrapper/testrail_helper/example_lpv_exception.rb', line 11 def result :lpv end |