Delightfully Fashionable Lemurs in Decorating Ruby
summary
Explains concrete decorators: builds a caching wrapper by capturing instance_method and the unbound method then using define_method to rebind and store per-method instance-variable caches; demonstrates a timing wrapper implemented by dynamically generating a prepended module with module.new, module_eval and const_set and installed via Module#prepend; shows how a method_added hook plus a flag lets prefixes apply to one method or many; claims 140 hours prep and 256 slides and shows measurable speedups and cleaner call chains.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 0:40Part 0 A Very Well Worn Robe
- 3:12Part 1 The Journey to Lavenville
- 5:00Part 2 Lavenville
- 7:28Part 3 Tailors
- 9:23Simple Method Decoration
- 15:17Method Added Decoration
- 18:35Prepend
- 26:50Farewell








