mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
Merge pull request #788 from radicaled/docfix
Update "ask" example in README.md
This commit is contained in:
commit
71b9f5812a
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ This method is widely used.
|
|||
``` ruby
|
||||
desc "Ask about breakfast"
|
||||
task :breakfast do
|
||||
ask(:breakfast, "What would you like your colleagues to bring you for breakfast?")
|
||||
ask(:breakfast, "pancakes")
|
||||
on roles(:all) do |h|
|
||||
execute "echo \"$(whoami) wants #{fetch(:breakfast)} for breakfast!\""
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue