Exception: Wicked::Wizard::InvalidStepError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Wicked::Wizard::InvalidStepError
- Defined in:
- lib/wicked/wizard.rb
Instance Attribute Summary collapse
-
#step ⇒ Object
Returns the value of attribute step.
Instance Method Summary collapse
-
#initialize(step = nil) ⇒ InvalidStepError
constructor
A new instance of InvalidStepError.
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
#step ⇒ Object
Returns the value of attribute step.
6 7 8 |
# File 'lib/wicked/wizard.rb', line 6 def step @step end |