Exception: Suture::Error::VerificationFailed
- Inherits:
-
StandardError
- Object
- StandardError
- Suture::Error::VerificationFailed
- Defined in:
- lib/suture/error/verification_failed.rb
Instance Method Summary collapse
-
#initialize(plan, results) ⇒ VerificationFailed
constructor
A new instance of VerificationFailed.
- #message ⇒ Object
Constructor Details
#initialize(plan, results) ⇒ VerificationFailed
Returns a new instance of VerificationFailed.
6 7 8 9 |
# File 'lib/suture/error/verification_failed.rb', line 6 def initialize(plan, results) @plan = plan @results = results end |
Instance Method Details
#message ⇒ Object
11 12 13 14 15 16 17 18 19 20 |
# File 'lib/suture/error/verification_failed.rb', line 11 def [ intro, describe_failures(@results.failed, @plan), configuration(@plan), summarize(@results), progress(@plan, @results) ].compact.join("\n").tap do end end |