Class: Yarsh::InvalidPromptError
- Inherits:
-
Error
- Object
- Error
- Yarsh::InvalidPromptError
- Defined in:
- lib/yarsh/config.rb
Constant Summary collapse
- DEFAULT_MESSAGE =
'Not a valid prompt type. Pass a method name of module Yarsh::Prompt or a block'
Instance Method Summary collapse
-
#initialize(message = DEFAULT_MESSAGE) ⇒ InvalidPromptError
constructor
A new instance of InvalidPromptError.
Constructor Details
#initialize(message = DEFAULT_MESSAGE) ⇒ InvalidPromptError
Returns a new instance of InvalidPromptError.
7 8 9 |
# File 'lib/yarsh/config.rb', line 7 def initialize( = DEFAULT_MESSAGE) super() end |