Class: Henry::Container

Inherits:
Object
  • Object
show all
Defined in:
lib/henry/container.rb,
lib/henry/container/version.rb

Overview

Henry Container

Constant Summary

VERSION =

Current Gem version

'0.0.1'

Instance Method Summary (collapse)

Constructor Details

- (Container) initialize

Nothing to be done here yet...



14
15
# File 'lib/henry/container.rb', line 14

def initialize
end

Instance Method Details

- (Object) execute

Executes the loaded tasks and stores their results.



18
19
20
21
22
23
24
25
26
# File 'lib/henry/container.rb', line 18

def execute
  self.tasks_results = self.tasks.collect do |task|
     task.execute(self.task_params(task.name))
  end

  self.update_results

  self.dump_results
end