solnic / virtus

[DISCONTINUED ] Attributes on Steroids for Plain Old Ruby Objects
MIT License
3.77k stars 228 forks source link

What replaces `ValueObject::InstanceMethods::with`? #367

Open ErinCall opened 7 years ago

ErinCall commented 7 years ago

Hi,

I'm upgrading a project from virtus 0.5.4 to 1.0.5. The existing code calls with. That method appears to have been dropped in the change from ValueObject to value_object, and I'm having trouble figuring out what replaces it.

Unfortunately it's a really difficult term to search 😅