Method: HR_Deploy::Task#initialize
- Defined in:
- lib/hr_deploy/tasks/task.rb
#initialize(args = {}) ⇒ Task
Returns a new instance of Task.
12 13 14 15 16 17 18 19 20 |
# File 'lib/hr_deploy/tasks/task.rb', line 12 def initialize(args = {}) @target = args.fetch(:target, nil) @confirm = args.fetch(:confirm, false) @dry_run = args.fetch(:dry_run, false) @success = nil @error = nil @start_time = nil @end_time = nil end |