assign an object (such as a string) to each element in the array
month = Array.new(12, "month")
# month now appears like this:
#["month", "month", "month", "month", "month", "month", "month", "month", "month",
# "month", "month", "month"]
Related examples in the same category