Module: Net::SSH::PromptMethods::Clear

Module | Net::SSH::PromptMethods::Clear
In: | lib/net/ssh/prompt.rb

Defines the prompt method to use when neither Highline nor Termios are installed.

### Methods

prompt

### Public Instance methods

prompt(prompt, echo=true)

Displays the prompt to $stdout and pulls the response from $stdin. Text is always echoed in the clear, regardless of the `echo` setting. The first time a prompt is given and `echo` is false, a warning will be written to $stderr recommending that either Highline or Termios be installed.

[Validate]