Yes, or indeed, it was actually supposed to be ary[0...-1]
(I think that's what William just said
In either case, as expected, the #inject-solution was superior.
It's very interesting and could be useful, but where possible I'd tend
to prefer the ary[0...-1] technique, or the #each_[with]_index one.
They're shorter and, to me, somewhat more transparent. But I'm
certainly not complaining about the development of the #inject one,
which is something I would probably never have come up with.