Exception: NotNumber
- Inherits:
-
StandardError
- Object
- StandardError
- NotNumber
- Defined in:
- lib/exceptions.rb
Instance Method Summary collapse
-
#initialize(msg = "Input is not an integer!") ⇒ NotNumber
constructor
A new instance of NotNumber.
Constructor Details
#initialize(msg = "Input is not an integer!") ⇒ NotNumber
Returns a new instance of NotNumber.
14 15 16 |
# File 'lib/exceptions.rb', line 14 def initialize(msg = "Input is not an integer!") super end |