Class: Prompts::PausePrompt

Inherits:
Prompt
  • Object
show all
Defined in:
lib/prompts/pause_prompt.rb

Instance Method Summary collapse

Methods inherited from Prompt

ask, #ask, #content, #default, #hint, #label, #prepare_content, #prepend_content

Constructor Details

#initializePausePrompt

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