~/talk

The Case of the Missing Method: A Ruby Mystery Story

Talkat Bath Ruby 2018 · 2018-03-22..03-23· [ruby]
slides:none on file

A debugging detective story that proves the concrete claim: that what look like class methods live on an object's singleton class, not on its superclass. Reproductions use pry and IRB, an object_space probe that shows class creation increments by two, and a small "where" routine that walks ancestors to locate methods. A DSL example builds per-city behavior by adding methods into instance singleton classes. Useful if encountering mysterious method lookup or Rails/DSL magic.

AI-written summary · about

  1. 0:00Introduction to the mystery
  2. 1:55Mike’s urgent request
  3. 6:31First investigation dead end
  4. 8:16Fresh leads at coworking space
  5. 10:26Smalltalk lecture breakthrough
  6. 13:40Solving the case for Mike
  7. 14:44Learning about singleton classes
  8. 16:29Ellen’s DSL demonstration
  9. 21:33Why singleton classes matter
  10. 24:21Jenny’s betrayal revealed
  11. 25:47Empowering Mike with knowledge
  12. 26:09Two months later update
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.