Hello list! :-) Maybe this has been discussed before, but anyway.. If a is an array, a[n] returns the n:th element. a[n..m] returns the n:th to the m:th element. If b is an array b=[x,y,z], it would be no surprise if a[b] returned the x:th, y:th and z:th element of a instead of: a=(42..97).to_a b=[3,7,9] a[b] TypeError: failed to convert Array into Integer (irb):17:in `[]' (irb):17:in `irb_binding' Or, what is the ruby way of doing this? Is it annoying to allow things like a[[x,y,z]] to select elemts of an array?