Ruby 2 Methodology
summary
Shows that Ruby now allows emoji and other odd method names and uses define_method/send to call them, documents a real app patch that makes private methods callable with self (accepted but not merged), finds and fixes RDoc and keyword-arg performance bugs, and replaces ~150 misused protected methods in Rails with private with tests passing. Demonstrates method transplantation, unbound/bound method behavior, module prepend replacing alias_method_chain, super_method introspection (but with lingering bugs), and refinements for file-scoped monkey‑patches.
AI-written summary · about
chapters (10)
- 0:00Introduction to Ruby methods
- 3:24Defining and calling methods
- 7:17Method visibility scopes
- 13:04Documentation and RDoc issues
- 15:32Method objects and binding
- 19:03Parameters and keyword arguments
- 26:43Monkey patching with prepend
- 32:01Super and debugging methods
- 36:21Refinements for scoping
- 40:49Conclusion








