Class: ActiveRecord::Snapshot::Stepper
- Inherits:
-
Object
- Object
- ActiveRecord::Snapshot::Stepper
- Defined in:
- lib/active_record/snapshot/utils/stepper.rb
Class Method Summary collapse
Class Method Details
.call(context, **steps) ⇒ Object
6 7 8 9 10 |
# File 'lib/active_record/snapshot/utils/stepper.rb', line 6 def self.call(context, **steps) steps.each do |step, | Logger.call(, &context.method(step)) || abort end end |