Your code will be simpler, and you won’t need any extra libraries or design pattern implementations.
Check out https://github.com/corp-gp/enum_machine — it’s 5x faster than AASM and a very simple yet powerful tool for building state machines.
Check out https://github.com/corp-gp/enum_machine — it’s 5x faster than AASM and a very simple yet powerful tool for building state machines.