Exception: Onboardable::StepConversionError
- Defined in:
- lib/onboardable/errors.rb
Overview
Error raised when an object cannot be converted to a Step.
Instance Method Summary collapse
-
#initialize(klass, step) ⇒ StepConversionError
constructor
Initializes a new instance of StepConversionError.
Constructor Details
#initialize(klass, step) ⇒ StepConversionError
Initializes a new instance of StepConversionError.
24 25 26 |
# File 'lib/onboardable/errors.rb', line 24 def initialize(klass, step) super("can't convert #{klass} to Step (#{klass}#to_onboarding_step gives #{step.class}).") end |