Method: StateMachine::Callback#type

Defined in:
lib/state_machine/callback.rb

#typeObject

The type of callback chain this callback is for. This can be one of the following:

  • before

  • after

  • around

  • failure



71
72
73
# File 'lib/state_machine/callback.rb', line 71

def type
  @type
end