Exception: TooSmall
- Inherits:
-
StandardError
- Object
- StandardError
- TooSmall
- Defined in:
- lib/exceptions.rb
Instance Method Summary collapse
-
#initialize(msg = "Number is too small!") ⇒ TooSmall
constructor
A new instance of TooSmall.
Constructor Details
#initialize(msg = "Number is too small!") ⇒ TooSmall
Returns a new instance of TooSmall.
2 3 4 |
# File 'lib/exceptions.rb', line 2 def initialize(msg = "Number is too small!") super end |