0

Can I get two scope from array in one query?

arr = [ 12, 8, 65, 22, 40, 41] puts arr[0..2 & 4..5] # Something like this ^^?

7th Jun 2018, 7:20 PM
Vladimir Pavlychev
Vladimir Pavlychev - avatar
1 Answer