Class Capistrano::TaskDefinition
In: lib/capistrano/task_definition.rb
Parent: Object

Methods

Attributes

body  [R] 
desc  [R] 
max_hosts  [R] 
name  [R] 
namespace  [R] 
on_error  [R] 
options  [R] 

Public Class methods

Public Instance methods

Returns the first sentence of the full description. If max_length is given, the result will be truncated if it is longer than max_length, and an ellipsis appended.

Indicates whether the task wants to continue, even if a server has failed previously

Returns the description for this task, with newlines collapsed and whitespace stripped. Returns the empty string if there is no description for this task.

Returns the task‘s fully-qualified name, including the namespace

[Validate]