Module Magic
summary
Walks through concrete Ruby behavior: includes put modules between class and parent, include order reverses call order (BCD prints DCB), extend opens the singleton class (extend == include into the singleton), and a single example “explains ~80% of Ruby’s method lookup.” Shows tools and patterns that actually work: const_missing autogeneration for on‑demand error classes, override bang methods to return self by redefining them in the singleton, and using drb_undumped as a tagging module. Notes included hooks can run twice and re-including a module is skipped.
AI-written summary · about
chapters (44)
- 0:00Intro
- 0:55About James
- 1:53RubyKagi
- 2:34Florian
- 2:48Japan
- 3:03Sumo
- 3:29Tokyo
- 3:48Ruby
- 4:18Meditation Gardens
- 4:53Code Walk Through
- 6:08Print Order
- 6:50Inheritance
- 8:40Print
- 9:10Ancestors
- 9:50Invisible class
- 10:30Extend
- 10:46Module namespaces
- 10:59Logger
- 11:26Ring objects
- 11:48Japanese food
- 12:44Japanese desserts
- 13:07Japanese sashimi
- 13:29Math module
- 14:07duel interface
- 14:46mobileblog
- 15:03Shinto shrines
- 15:28Access road
- 15:39Shrine
- 15:55Auto Generate Error Classes
- 17:04Example
- 19:01Cat Statue
- 19:33Grave of 47 Ronin
- 20:29Spirit Gates
- 20:49DualLevel Mix
- 21:24Bananas
- 21:38Anime Statues
- 21:56Aaron Patterson
- 22:26Empty modules
- 23:30Object editing
- 23:53Extended hook
- 24:54Modules for editing
- 25:05Summary
- 25:56Module Modification
- 26:46Questions







