1
0
Fork 0
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:
Matt Brictson 2016-02-24 09:29:39 -08:00
commit 8b96bdd8f4

View file

@ -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: