Exception: Profession::ProfessionNotFound
- Inherits:
-
StandardError
- Object
- StandardError
- Profession::ProfessionNotFound
- Defined in:
- lib/profession.rb
Instance Method Summary collapse
-
#initialize(msg = 'This profession is not yet on the list') ⇒ ProfessionNotFound
constructor
A new instance of ProfessionNotFound.
Constructor Details
#initialize(msg = 'This profession is not yet on the list') ⇒ ProfessionNotFound
Returns a new instance of ProfessionNotFound.
50 51 52 |
# File 'lib/profession.rb', line 50 def initialize(msg = 'This profession is not yet on the list') super end |