I'm working with a legacy Rails project and found a piece of code that don't understand.
Given that
search = Sunspot.search(entities)
...
[search] << AnotherClass.new
Obviously they are two different object type. What is the meaning of using [] <<