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(message, color)
  HighLine.new(STDIN, STDERR).ask(message.bold) { |q| q.echo = ''.send(color) }
end