`@sides = [sideA, sideB, sideC] + sides` would also do it, instead of these two lines.