Class: Yaso::Logic::Rollback

Inherits:
Classic
  • Object
show all
Defined in:
lib/yaso/logic/rollback.rb

Instance Method Summary collapse

Methods inherited from Classic

call, #initialize

Constructor Details

This class inherits a constructor from Yaso::Logic::Classic

Instance Method Details

#callObject



6
7
8
9
# File 'lib/yaso/logic/rollback.rb', line 6

def call
  super
  logicals.detect { |step| !step.is_a?(Failure) }
end