Class: Highline::Menu

Inherits:
Object
  • Object
show all
Defined in:
lib/zcc/cli_display.rb

Instance Method Summary collapse

Instance Method Details

#update_responsesObject



471
472
473
474
475
476
477
478
479
# File 'lib/zcc/cli_display.rb', line 471

def update_responses(  )
  append_default unless default.nil?
  @responses = { 
    :ambiguous_completion =>    "Ambiguous choice.  ",                     
    :ask_on_error         =>    "?  ",                     
    :invalid_type         =>    "You must enter a valid option.",                     :no_completion        =>    "You must pick a valid option.",                     :not_in_range         =>    "You must input a valid option." ,                     
    :not_valid            =>    "You must have a valid option." 
  }.merge(@responses)
end