Module: ActsAsWizard::ClassMethods

Defined in:
app/models/concerns/acts_as_wizard.rb

Instance Method Summary collapse

Instance Method Details

#acts_as_wizard?Boolean

Returns:

  • (Boolean)


25
# File 'app/models/concerns/acts_as_wizard.rb', line 25

def acts_as_wizard?; true; end

#all_wizard_stepsObject



31
32
33
# File 'app/models/concerns/acts_as_wizard.rb', line 31

def all_wizard_steps
  const_get(:WIZARD_STEPS).keys
end

#wizard_steps_hashObject



27
28
29
# File 'app/models/concerns/acts_as_wizard.rb', line 27

def wizard_steps_hash
  const_get(:WIZARD_STEPS)
end