4 ms·
The Predicate Module Pattern
- mnb 13y agoHow is it different from DCI?
- thinkbohemian 13y agoInteresting idea be careful of this causing slowdowns: right now every time you `extend` any object the entire method cache gets blown away (https://charlie.bz/blog/things-that-clear-rubys-method-cache https://charlie.bz/blog/things-that-clear-rubys-method-cache). I think this is being worked on but not sure of a target release for the fix.