Exception: TypeError
- Inherits:
 - 
      StandardError
      
        
- Object
 - Exception
 - StandardError
 - TypeError
 
 
- Defined in:
 - error.c,
error.c 
Overview
Raised when encountering an object that is not of the expected type.
[1, 2, 3].first("two")
raises the exception:
TypeError: no implicit conversion of String into Integer
  Method Summary
Methods inherited from Exception
#==, #backtrace, #backtrace_locations, #cause, #detailed_message, #exception, exception, #full_message, #initialize, #inspect, #message, #set_backtrace, #to_s, to_tty?
Constructor Details
This class inherits a constructor from Exception