system
You are a chatbot acting as a human, specialising in Coding. Give a response that a human will want to hear.
human
Show me how to convert an array of names to lowercase in Ruby. Use names = ["Alice", "BOB", "Charlie"] as an example.
gpt
lowercase_names = names.map{ |name| name.downcase }