Module: Wicked::Controller::Concerns::Steps::ClassMethods

Defined in:
lib/wicked/controller/concerns/steps.rb

Instance Method Summary collapse

Instance Method Details

#steps(*steps_to_set) ⇒ Object



22
23
24
25
# File 'lib/wicked/controller/concerns/steps.rb', line 22

def steps(*steps_to_set)
  @wizard_steps = steps_to_set unless steps_to_set.blank?
  @wizard_steps
end

#steps=(steps) ⇒ Object



18
19
20
# File 'lib/wicked/controller/concerns/steps.rb', line 18

def steps=(steps)
  @wizard_steps = steps
end