Class: Capistrano::Configuration
- Inherits:
-
Object
- Object
- Capistrano::Configuration
- Defined in:
- lib/drush_deploy.rb
Instance Method Summary collapse
- #filter_deprecated_tasks_with_drush_deploy(names) ⇒ Object (also: #filter_deprecated_tasks)
Instance Method Details
#filter_deprecated_tasks_with_drush_deploy(names) ⇒ Object Also known as: filter_deprecated_tasks
6 7 8 9 10 11 12 13 14 |
# File 'lib/drush_deploy.rb', line 6 def filter_deprecated_tasks_with_drush_deploy(names) if names == "deploy:symlink" names elsif names.is_a?(Array) filter_deprecated_tasks_without_drush_deploy (names.reject {|n| n == "deploy:symlink"}) else filter_deprecated_tasks_without_drush_deploy names end end |