Method: Transitions::ClassMethods#inherited
- Defined in:
- lib/transitions.rb
#inherited(klass) ⇒ Object
14 15 16 17 |
# File 'lib/transitions.rb', line 14 def inherited(klass) super # Make sure we call other callbacks possibly defined upstream the ancestor chain. klass.state_machine = state_machine end |