Patrick J. Sparrow

Results 2 comments of Patrick J. Sparrow

I played around with it a bit here: https://github.com/psparrow/aasm/commit/794c6e7625d9d278e6af69085c7d60768993f324. The code prepends a before_enter callback that evaluates a block on the instance's metaclass. One potential drawback - the methods defined...

This will be super-useful. Let's get it merged! :)