Exception: Wicked::Wizard::InvalidStepError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/wicked/wizard.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(step = nil) ⇒ InvalidStepError

Returns a new instance of InvalidStepError.



8
9
10
11
12
# File 'lib/wicked/wizard.rb', line 8

def initialize(step = nil)
  self.step = step

  super "The requested step did not match any steps defined for this controller: #{step.inspect}"
end

Instance Attribute Details

#stepObject

Returns the value of attribute step.



6
7
8
# File 'lib/wicked/wizard.rb', line 6

def step
  @step
end