Class: CheckList::ResultsPublisher

Inherits:
Object
  • Object
show all
Defined in:
lib/results_publisher.rb

Overview

Publish the results of a completed checklist

Instance Method Summary collapse

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