A quick way of printing out an entire array : Print Array « Array « Ruby






A quick way of printing out an entire array



array = ["Hello", "there", "AAA", 1, 2, 3]
puts array
p array

 

Related examples in the same category