Might make more sense to use `is_a?`:

```ruby
unless input.is_a?(Array)
```

Reads a bit more nicely. :)