Range Index « Array « Ruby






1.use ranges as array indices to select multiple elements at the same time:
2.set multiple elements at the same time