Class: Prompts::PausePrompt
- Defined in:
- lib/prompts/pause_prompt.rb
Instance Method Summary collapse
-
#initialize ⇒ PausePrompt
constructor
A new instance of PausePrompt.
- #resolve_choice_from(response) ⇒ Object
Methods inherited from Prompt
ask, #ask, #content, #default, #hint, #label, #prepare_content, #prepend_content
Constructor Details
#initialize ⇒ PausePrompt
Returns a new instance of PausePrompt.
5 6 7 8 9 |
# File 'lib/prompts/pause_prompt.rb', line 5 def initialize(...) super @prompt = "Press Enter ⏎ to continue..." end |
Instance Method Details
#resolve_choice_from(response) ⇒ Object
11 12 13 |
# File 'lib/prompts/pause_prompt.rb', line 11 def resolve_choice_from(response) true end |