pmurach — 22 posts
Just released finite_machine which introduces new callback types on_before and on_after for listening to events and separating them from state changes. This means that the transition sequence and callback lifecycle have changed as well. I'm looking forward to your feedback!
I've written finite_machine Ruby gem, a minimal state machine implementation with (hopefully) intuitive DSL. What sets it apart from other state machines is that it requires no integration with other frameworks or mixin inclusion. It aims to provide everything a state machine should have and nothing more. Please see README for full list of features and please review, follow and use the project!