fgrehm/virtus — comment on commit cd756e4bcd708d31f135e4e4cf165a6ac61a50dc
File: lib/virtus/class_methods.rb line 91
By dkubb:

With Virtus we're targetting 1.9 primarily, with 1.8 secondarily. In DM it was the reverse. In 1.9 it's probably faster to do (not to mention less code):

```ruby
@allowed_writer_methods = public_instance_methods.map(&:to_s).grep(WRITER_METHOD_REGEXP).to_set
```