Exception: Handle::HandleError
- Inherits:
-
Exception
- Object
- Exception
- Handle::HandleError
- Defined in:
- lib/handle.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(msg = nil) ⇒ HandleError
constructor
A new instance of HandleError.
Constructor Details
#initialize(msg = nil) ⇒ HandleError
Returns a new instance of HandleError.
13 14 15 16 17 18 |
# File 'lib/handle.rb', line 13 def initialize msg=nil unless msg.nil? msg = msg[0] + msg[1..-1].downcase end super msg end |