1
0
Fork 0
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:
Tom Clements 2013-11-19 00:57:28 -08:00
commit 71b9f5812a

View file

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