Metaprogramming

How Ruby Finds a Method

5 minute read

Every method call in Ruby is a search. Once you can see the chain the interpreter walks — modules, prepends, singleton classes, super — the object model turn...