Thanks to everyone who responded! I think the quickest approach for my simple need will be to create a range and then use its "to_a" function to unpack it into an array.