Method: Sym::App::Input::Handler#prompt
- Defined in:
- lib/sym/app/input/handler.rb
#prompt(message, color) ⇒ Object
21 22 23 |
# File 'lib/sym/app/input/handler.rb', line 21 def prompt(, color) HighLine.new(STDIN, STDERR).ask(.bold) { |q| q.echo = '•'.send(color) } end |