class Exiter
Public Instance Methods
exit_after_showing_help()
click to toggle source
# File lib/exiter.rb, line 18 def exit_after_showing_help exit end
exit_due_to_doc_not_found()
click to toggle source
# File lib/exiter.rb, line 6 def exit_due_to_doc_not_found abort "Sorry. It looks like we couldn't find what you were looking for".red end
exit_due_to_incorrect_index()
click to toggle source
# File lib/exiter.rb, line 10 def exit_due_to_incorrect_index abort "Sorry. It looks like you didn't enter the correct index".red end
exit_due_to_net_http_fail_during_links_update()
click to toggle source
# File lib/exiter.rb, line 14 def exit_due_to_net_http_fail_during_links_update exit end
exit_due_to_no_search_term()
click to toggle source
# File lib/exiter.rb, line 2 def exit_due_to_no_search_term abort "You need to provide something to search for".red end