module WizardStepConcern
Attributes
Public Instance Methods
Source
# File app/models/concerns/wizard_step_concern.rb, line 9 def on_wizard_step(step, exact: false, &block) with_options on: :update do with_options if: -> { required_for_step?(step, exact:) }, &block end end