alexpeachey / end_state

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

Fix StateMachine#state_for_event not coercing :state to a symbol. #4

Closed brianvh closed 10 years ago

brianvh commented 10 years ago

Without the .to_sym coercion on :state, all events return as invalid. This commit contains the fix.

alexpeachey commented 10 years ago

Pushed out a quick v0.3.1 that includes this fix.