fgrehm/virtus — comment on commit c90ccafd3e2b9aeae12418661e13ec9f72a0eac9
File: lib/virtus/value_object.rb line 59
By dkubb:

What about just declaring a `allowed_writer_methods` class method for `Virtus::ValueObject` and then in there perform this logic? Then since the `set_attributes` always accepts the "allowed_writer_methods" and you can make it so it just checks the attribute internally rather than having the list passed in explicitly.