Class: RubyEdit::ApplyPrompt

Inherits:
Command
  • Object
show all
Defined in:
lib/ruby_edit/apply_prompt.rb

Instance Method Summary collapse

Methods inherited from Command

#command, #cursor, #editor, #exec_exist?, #execute, #generator, #pager, #platform, #prompt, #screen, #which

Instance Method Details

#continue?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/ruby_edit/apply_prompt.rb', line 7

def continue?
  prompt.yes?('Do you want to apply these changes?')
end