Exception: NameNotRecognizedError

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

Instance Method Summary collapse

Constructor Details

#initialize(msg = 'That name is not recognized. Try using one in the standard library (e.g. Sober::Name.name(:male))') ⇒ NameNotRecognizedError

Returns a new instance of NameNotRecognizedError.



24
25
26
# File 'lib/sober/gender.rb', line 24

def initialize(msg = 'That name is not recognized. Try using one in the standard library (e.g. Sober::Name.name(:male))')
  super(msg)
end