Exception: CodebreakerVolkova::Errors::DifficultyError
- Inherits:
-
StandardError
- Object
- StandardError
- CodebreakerVolkova::Errors::DifficultyError
- Defined in:
- lib/codebreaker_volkova/errors/difficulty_error.rb
Instance Method Summary collapse
-
#initialize ⇒ DifficultyError
constructor
A new instance of DifficultyError.
Constructor Details
#initialize ⇒ DifficultyError
Returns a new instance of DifficultyError.
6 7 8 |
# File 'lib/codebreaker_volkova/errors/difficulty_error.rb', line 6 def initialize super('The difficulty must be easy or medium or hell') end |