I wonder if this would be better as

```ruby
split(/\s?--\s?/)
```

optional whitespace on eitherside