how about: 

```ruby
parsed_options.values.all? { |v| v.empty? } ? nil : parsed_options
```