lib/ash/common.rb in capistrano-ash-0.0.11 vs lib/ash/common.rb in capistrano-ash-0.0.12

- old
+ new

@@ -6,5 +6,12 @@ def _cset(name, *args, &block) unless exists?(name) set(name, *args, &block) end end + +# Prompts user entry +# Params: +# +prompt+ +def text_prompt(prompt="Value: ") + ui.ask(prompt) { |q| q.echo = true } +end \ No newline at end of file