lib/capitate/plugins/prompt.rb in capitate-0.2.8 vs lib/capitate/plugins/prompt.rb in capitate-0.2.11
- old
+ new
@@ -1,9 +1,15 @@
require 'md5'
module Capitate::Plugins::Prompt
-
- def ask(label, &block)
+
+ # Prompt.
+ #
+ # ==== Options
+ # +label+:: Label
+ # +options+:: Options (none yet)
+ #
+ def ask(label, options = {}, &block)
Capistrano::CLI.ui.ask(label, &block)
end
# Prompt for password.
#