Class: CheckList::ResultsPublisher
- Inherits:
-
Object
- Object
- CheckList::ResultsPublisher
- Defined in:
- lib/results_publisher.rb
Overview
Publish the results of a completed checklist
Instance Method Summary collapse
-
#initialize(results) ⇒ ResultsPublisher
constructor
A new instance of ResultsPublisher.
Constructor Details
#initialize(results) ⇒ ResultsPublisher
Returns a new instance of ResultsPublisher.
10 11 12 13 14 15 |
# File 'lib/results_publisher.rb', line 10 def initialize(results) @path = nil @results = results @checklist = CheckList::Helpers.system_cmd('ls | grep checklist') publish_results end |