new with zero, one (the initial size of the Array ) or two arguments (the initial size and a default object). ary = Array.new #=> [] Array.new(3) ...
確定! 回上一頁