lib/end_state/transition.rb in end_state-0.10.1 vs lib/end_state/transition.rb in end_state-0.11.0
- old
+ new
@@ -61,15 +61,9 @@
def blocked(message)
@blocked_event_message = message
end
- # Backward compatibility
- # Finalizer is deprecated
- alias_method :finalizers, :concluders
- alias_method :finalize, :conclude
- alias_method :finalizer, :concluder
-
private
def rollback(concluded, object, previous_state, params)
action.new(object, previous_state).rollback
concluded.reverse.each { |concluder| concluder.new(object, state, params).rollback }