Exception: Yaso::InvalidFirstStepError
- Defined in:
- lib/yaso/errors.rb
Instance Method Summary collapse
-
#initialize(category) ⇒ InvalidFirstStepError
constructor
A new instance of InvalidFirstStepError.
Constructor Details
#initialize(category) ⇒ InvalidFirstStepError
Returns a new instance of InvalidFirstStepError.
13 14 15 |
# File 'lib/yaso/errors.rb', line 13 def initialize(category) super("#{category.to_s.capitalize} cannot be the first step") end |