Exception: Profession::ProfessionNotFound

Inherits:
StandardError
  • Object
show all
Defined in:
lib/profession.rb

Instance Method Summary collapse

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