If you’ve run into aasm
for Ruby, this is something like that but native to Crystal. I wanted to take advantage of enum
and keep the state machine type-safe, so I chose not to use symbols.
4 Likes
If you’ve run into aasm
for Ruby, this is something like that but native to Crystal. I wanted to take advantage of enum
and keep the state machine type-safe, so I chose not to use symbols.