Array.new(size=0, obj=nil)Array.new(array)Array.new(size) {|index| block }
Class Public methods
Returns a new array.
In the first form, if no arguments are sent, the new array will be empty.
When a size and an optional obj are sent, an
array is created with size copies of obj. Take
notice that all elements will reference the same object obj.
The second form creates a copy of the array passed as a parameter (the
array is generated by calling #to_ary on the parameter).
first_array