def article_selection_menu
      breakline_space_only
      avail_choices = (1..KdnuggetsRoundup::Article.all.count).collect{ |num| num.to_s }
      input = nil
      while input != 'menu'
        breakline_title
        list(KdnuggetsRoundup::Article.all)
        breakline_space_only
        puts "Enter an article number and I'll lasso it up for ya."
        breakline_space_only
        puts "You can also choose:"
        puts "'rank' to see the articles ranked by most popular and most shared, or "
        puts "'menu' to return to the main menu."
        gun_graphic
        input = gets.chomp.downcase
        breakline_space_only
        if avail_choices.include?(input)
          puts "Here's that article you asked for:"
          breakline_space_only
          chosen_article = KdnuggetsRoundup::Article.all[input.to_i - 1]
          display_article(chosen_article)
          article_selection_submenu(chosen_article)
        elsif input == "rank"
          rank_submenu
        elsif input == "menu"
          break
        else
          puts "Sorry, partner. Didn't catch that."
        end
      end
    end
def article_selection_menu
      breakline_space_only
      avail_choices = (1..KdnuggetsRoundup::Article.all.count).collect{ |num| num.to_s }
      input = nil
      while input != 'menu'
        breakline_title
        list(KdnuggetsRoundup::Article.all)
        breakline_space_only
        puts "Enter an article number and I'll lasso it up for ya."
        breakline_space_only
        puts "You can also choose:"
        puts "'rank' to see the articles ranked by most popular and most shared, or "
        puts "'menu' to return to the main menu."
        gun_graphic
        input = gets.chomp.downcase
        breakline_space_only
        if avail_choices.include?(input)
          puts "Here's that article you asked for:"
          breakline_space_only
          chosen_article = KdnuggetsRoundup::Article.all[input.to_i - 1]
          display_article(chosen_article)
          article_selection_submenu(chosen_article)
        elsif input == "rank"
          rank_submenu
        elsif input == "menu"
          break
        else
          puts "Sorry, partner. Didn't catch that."
        end
      end
    end
submenu methods