ryanza/stateflow — pull request #42 by hmaddocks (2013-08-12 05:47:32+00:00)
Title: Set the state before calling #enter and #exit

Querying the state from inside an enter method doesn't return the state that the enter filter is called from. This patch sets the state before calling enter.