Messenger: The (Complete) Story of Method Lookup
summary
Explains exactly where Ruby looks: every object has a singleton class first, then the class, included modules, superclasses, with ancestors showing the chain; class methods are just singleton methods, top‑level defs become Object private methods, and missing calls fall back to method_missing. Demonstrates behavior with terminal examples, shows include vs prepend ordering and that refinements prepend only lexically, and the small demos run and produce the described outputs.
AI-written summary · about
chapters (7)
- 0:00Introduction
- 0:41Singleton Methods
- 7:07Nonexistent Methods
- 12:37Modules
- 17:08Refinements
- 21:14Recap
- 26:40Resources
related talks
29mThe Case of the Missing Method: A Ruby Mystery Story
31mThe case of the missing method — a Ruby mystery story
33mThe Case Of The Missing Method - A Ruby Mystery Story
34mThe Case of the Missing Method — A Ruby Mystery Story
33mVenturing into the Spooky Science of Ruby
29mModule Magic
29mAll I'd Wanted to Know about Ruby's Object Model Starting Out...and Mooar!!!
29mAll I'd Wanted to Know about Ruby's Object Model Starting Out...and Mooar!!!
