pluginaweek / state_machine

Adds support for creating state machines for attributes on any Ruby class
http://www.pluginaweek.org
MIT License
3.74k stars 510 forks source link

fix raises when using with celluloid #244

Closed kostya closed 11 years ago

kostya commented 11 years ago

bug appers with 1.2, 1.1.2 was ok.

https://github.com/celluloid/celluloid/issues/206

halorgium commented 11 years ago

For anonymous classes, it will now return a String rather than nil.

obrie commented 11 years ago

Interesting. Changing the behavior of name on Module is a little unexpected, but let me look over things. Thanks for the heads up.

halorgium commented 11 years ago

@obrie in Celluloid, we only include the main Celluloid module and we are considering removing the name singleton method override. That change would make this change unnecessary.

obrie commented 11 years ago

Thanks @halorgium / @kostya!