What you have done here is excellent - this is an alternative that uses slightly less code: 
        while toys_yn == "y"
      puts "Please enter the name of the toy (leave blank and press enter to exit)"
      animal.toys << gets.chomp
      puts "Does this animal have any toys (y/n?)"
      toys_yn = gets.chomp
    end