Ruby Statechart support