Dinocatalog

Rubocop said Yes
Try as I might I cannot see how this method is supposed to work. On one hand the assignment on line 37 perhaps should've been an insertion into the array. That would at least produce predictable, albeit perhaps not very useful results.

On the other hand, if line 37 is as intended then line 35 is unnecessary, but then this method produces unpredictable results based on lack of guarantee of the the order of the elements in a hash.

Basically this method *probably* should be calling search iteratively.