alexpeachey / end_state

A State Machine implementation
MIT License
9 stars 5 forks source link

Add a helper that can stand-in for "any state" on the left side of a transition #10

Closed brianvh closed 10 years ago

brianvh commented 10 years ago

I'm thinking about something we call any_state, or we simply allow the use of a special state named :any_state, that when present as the starting state of a transition, returns true, no matter what the starting state currently is.

alexpeachey commented 10 years ago

This was addressed with #11