Exception: Porch::InvalidStepTypeError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Porch::InvalidStepTypeError
- Defined in:
- lib/porch/errors/invalid_step_type_error.rb
Instance Attribute Summary collapse
-
#step ⇒ Object
readonly
Returns the value of attribute step.
Instance Method Summary collapse
-
#initialize(step) ⇒ InvalidStepTypeError
constructor
A new instance of InvalidStepTypeError.
Constructor Details
#initialize(step) ⇒ InvalidStepTypeError
Returns a new instance of InvalidStepTypeError.
5 6 7 8 |
# File 'lib/porch/errors/invalid_step_type_error.rb', line 5 def initialize(step) @step = step super "Step type #{step.class.name} is not handled" end |
Instance Attribute Details
#step ⇒ Object (readonly)
Returns the value of attribute step.
3 4 5 |
# File 'lib/porch/errors/invalid_step_type_error.rb', line 3 def step @step end |