Klass is a pointer to the object's singleton class if the object has a singleton class, or the object's class if it does not.
If you call a method on an object, ruby looks at the class pointed to by the klass pointer as the start of the method lookup.