I ended up accidentally doing the equivalent of this in Ruby the other night:

a = *1..5  # => [1, 2, 3, 4, 5]
a << a
a          # => [1, 2, 3, 4, 5, [...]]
a.last     # => [1, 2, 3, 4, 5, [...]]

What is [...] and what can I do with it?

Edit
Report