I think another way to write this would be something like:

```ruby
Hash[writer_option_names.zip(attribute_options.values_at(*writer_option_names))]
```