Method: UI.list_error

Defined in:
lib/ruby_doc/cli/ui.rb

.list_error(matches) ⇒ Object



372
373
374
375
376
377
378
# File 'lib/ruby_doc/cli/ui.rb', line 372

def self.list_error(matches) 
  if matches.first.is_a?(String)
    print redH("\n Enter '#' to view, 'reset!', 'm' for main or 'exit!' to leave ")
  else
    print redH("\n Enter selection number, 'm' for main or 'exit!' to leave ")
  end
end