Class | Transitions::StateTransition |
In: |
lib/transitions/state_transition.rb
|
Parent: | Object |
from | [R] | |
to | [R] |
@param obj [Any] - the subject @param args [Array<Symbol>] - any arguments passed into the transition method
E.g. something like car.drive!(:fast, :now) with `car` being the subject and `drive` the transition method would result in `args` looking like this: [:fast, :now]
@return [Bool]
@param obj [Any] - the subject @param args [Array<Symbol>] - any arguments passed into the transition method
E.g. something like car.drive!(:fast, :now) with `car` being the subject and `drive` the transition method would result in `args` looking like this: [:fast, :now]
@return [void]
rubocop:disable Metrics/MethodLength