nyarly / sockjs-ruby

WebSocket emulation - Ruby server
http://sockjs.org
MIT License
28 stars 5 forks source link

change to use state_machine gem? #5

Closed ShiningRay closed 10 years ago

ShiningRay commented 11 years ago

state_machine provides more features such as transition events. and if users define methods with the same name as those defined in state modules, it won't override them.

nyarly commented 11 years ago

I'm not sure I see the advantage of making a change at this point. In general, FSMs using modules are kind of a pain in Ruby - if anything I'd want states to be simple objects with delegation.