mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
Merge pull request #176 from will-in-wi/document_remove
Document new remove method.
This commit is contained in:
commit
8b96bdd8f4
1 changed files with 6 additions and 0 deletions
|
@ -39,6 +39,12 @@ fetch(:special_thing, 'some_default_value')
|
|||
append :linked_dirs, ".bundle", "tmp"
|
||||
```
|
||||
|
||||
The inverse is also available: `remove` will strive to drop an entry from an array. This comes in handy if you have a shared configuration which sets an array but a specific config doesn't need one of the elements.
|
||||
|
||||
```ruby
|
||||
remove :linked_dirs, ".bundle", "tmp"
|
||||
```
|
||||
|
||||
## Variables
|
||||
|
||||
The following variables are settable:
|
||||
|
|
Loading…
Add table
Reference in a new issue