| Class | Capistrano::TaskDefinition |
| In: |
lib/capistrano/task_definition.rb
|
| Parent: | Object |
Represents the definition of a single task.
| body | [R] | |
| desc | [R] | |
| max_hosts | [R] | |
| name | [R] | |
| namespace | [R] | |
| on_error | [R] | |
| options | [R] |
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.
Returns the description for this task, with newlines collapsed and whitespace stripped. Returns the empty string if there is no description for this task.