Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 389 Bytes

2.x-DSL-Configuration-Execution-Current-Task.md

File metadata and controls

21 lines (15 loc) · 389 Bytes

Definition

current_task

Module

Capistrano::Configuration::Execution 

Returns the TaskDefinition object for the currently executing task, or nil of no task is being executed.

Available instance variables for TaskDefinition objects are:

@max_hosts
@fully_qualified_name
@on_error
@servers
@desc
@options
@namespace
@body
@name