Method: Howdy::UI.prompt
- Defined in:
- lib/howdy/ui.rb
.prompt(message) ⇒ Object
Display message and wait for user input. Returns captured data
27 28 29 30 |
# File 'lib/howdy/ui.rb', line 27 def prompt() print "#{message}: " $stdin.gets end |