not a big thing, but let's just reverse the if condition, since I think we should verify if Array first

```ruby
if self.kind_of?(Array) && !key.kind_of?(Numeric)
```