Debug mode prompt
# File lib/capistrano/cli/ui.rb, line 27 27: def debug_prompt(cmd) 28: ui.say("Preparing to execute command: #{cmd}") 29: prompt = "Execute ([Yes], No, Abort) " 30: ui.ask("#{prompt}? ") do |q| 31: q.overwrite = false 32: q.default = 'y' 33: q.validate = /(y(es)?)|(no?)|(a(bort)?|\n)/ 34: q.responses[:not_valid] = prompt 35: end 36: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.