Module: MultiStep::ActsAsMultiStep::ClassMethods
- Defined in:
- lib/multi-step/acts-as-multi-step.rb
Instance Method Summary collapse
Instance Method Details
#form_steps_sanitized ⇒ Object
15 16 17 |
# File 'lib/multi-step/acts-as-multi-step.rb', line 15 def form_steps_sanitized self.form_steps.collect { |s| s.to_s.parameterize } end |
#multi_step(steps = [], options = {}) ⇒ Object
10 11 12 13 |
# File 'lib/multi-step/acts-as-multi-step.rb', line 10 def multi_step(steps = [], = {}) cattr_accessor :form_steps self.form_steps = steps end |