module Printer

Public Instance Methods

get_choice_from_above() click to toggle source
# File lib/Printer.rb, line 99
def get_choice_from_above
  puts "Please choose from the list above to get the relevant providers:"
  user_input = gets.strip
end
get_provider_name() click to toggle source
# File lib/Printer.rb, line 92
def get_provider_name
  puts "Which provider?"
  user_input = gets.strip
end
list_right_options() click to toggle source
# File lib/Printer.rb, line 42
def list_right_options
  puts "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
  puts "!!!!!!!!!!!!!  Please enter either 1, 2, 3 or 4  !!!!!!!!!!!!"
  puts "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
end
menu_screen() click to toggle source
print_from_arr_of_o(instances_of_objects) click to toggle source
print_from_arr_of_s(array_to_print) click to toggle source
print_this(for_printing) click to toggle source
print_whole_profile(provider_instance) click to toggle source
warning_message() click to toggle source
# File lib/Printer.rb, line 7
def warning_message
  puts "======================================================================================================"
  puts "!!!!!!!!   The doctor, team or specialty that you have choosen does not exit in this clinic   !!!!!!!!"
  puts "======================================================================================================"
end
warning_message_team() click to toggle source
# File lib/Printer.rb, line 15
def warning_message_team
  puts "======================================================================================================"
  puts "!!!!!!!!     You've chosen a doctor that either does not exist or is not part os any team     !!!!!!!!"
  puts "======================================================================================================"
end