From 18f946b24930634a9876526d350c7649705c77fe Mon Sep 17 00:00:00 2001 From: Arron Washington Date: Mon, 18 Nov 2013 17:13:53 -0500 Subject: [PATCH] Update "ask" example in README.md The actual method definition for the ask() method accepts a key and a default value for that key, not a key and question text. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 730d0f46..19c6359d 100644 --- a/README.md +++ b/README.md @@ -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