You also don’t need the `flatten` if you use a splat, e.g.:

```ruby
[ 1, *[ 2, 3 ], 4 ]
# => [1, 2, 3, 4]
```