Mega Code Archive

 
Categories / Ruby / Array
 

Array new(5, A) fills an array with five a

p Array.new(5, "A")