lib/cli.rb
def continue_exploring_presenting_artists(gallery)
        puts "Would you like to keep exploring #{gallery.name.bold}'s Presenting Artist(s)? Y or N".black.on_white
        input=gets.chomp
        if input.downcase == "y"
            list_presenting_artists(gallery)
            presenting_artist_menu(gallery)
        elsif input.downcase == "n"
            closer
        else 
            puts "Invalid entry. Please try again".black.on_white
            continue_exploring_presenting_artists(gallery)
        end 
    end
#GALLERY:Takes in argument of gallery. Asks user if they want to continue exploring artist at this gallery or explor other options
Takes in argument of gallery. Asks user if they want to continue exploring artist at this gallery or explor other options
Takes in argument of gallery . Asks user if they want to continue exploring artist at this gallery or explor other options
def continue_exploring_presenting_artists(gallery)
        puts "Would you like to keep exploring #{gallery.name.bold}'s Presenting Artist(s)? Y or N".black.on_white
        input=gets.chomp
        if input.downcase == "y"
            list_presenting_artists(gallery)
            presenting_artist_menu(gallery)
        elsif input.downcase == "n"
            closer
        else 
            puts "Invalid entry. Please try again".black.on_white
            continue_exploring_presenting_artists(gallery)
        end 
    end
def continue_exploring_presenting_artists ( gallery ) puts "Would you like to keep exploring #{gallery.name.bold}'s Presenting Artist(s)? Y or N" . black . on_white input = gets . chomp if input . downcase == "y" list_presenting_artists ( gallery ) presenting_artist_menu ( gallery ) elsif input . downcase == "n" closer else puts "Invalid entry. Please try again" . black . on_white continue_exploring_presenting_artists ( gallery ) end end
GALLERY:Takes in argument of gallery.
GALLERY : Takes in argument of gallery .
gallery