In this blog post we will be looking at how to find method in the method lookup chain
Do you know where ancestors method is coming from? I don’t either so let’s investigate.
We know that the lookup chain contains [Person, Object, Kernel, BasicObject] so lets start here.
This is weird. It looks like that those Classes and Kernel Module don’t contain ancestors method. We are probably doing something wrong here. Lets’ examine this a little more.