Class: Henry::Container
- Inherits:
-
Object
- Object
- Henry::Container
- Defined in:
- lib/henry/container.rb,
lib/henry/container/version.rb
Overview
Henry Container
Constant Summary
- VERSION =
Current Gem version
'0.0.7'
Instance Method Summary (collapse)
-
- (Object) execute
Executes the loaded tasks and stores their results.
-
- (Container) initialize(opts)
constructor
Nothing to be done here yet...
Constructor Details
- (Container) initialize(opts)
Nothing to be done here yet...
15 16 17 |
# File 'lib/henry/container.rb', line 15 def initialize(opts) @opts = opts end |
Instance Method Details
- (Object) execute
Executes the loaded tasks and stores their results.
20 21 22 23 24 25 26 27 28 29 30 |
# File 'lib/henry/container.rb', line 20 def execute self.before_execution self.tasks_results = self.tasks.collect do |task| task.execute(self.task_params(task.name)) end self.update_results self.dump_results end |