Exception: Handle::HandleError

Inherits:
Exception
  • Object
show all
Defined in:
lib/handle.rb

Direct Known Subclasses

NotFound

Instance Method Summary collapse

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