~/talk

The Case of the Missing Method — A Ruby Mystery Story

Talkat RubyConf 2018 · 2018-11-28..11-30· [ruby]
slides:none on file

Finds that a missing class method isn’t lost but stored on the class’s singleton class, discovered by inspecting ancestry and using a small where method to search ancestors; reproduces the surprise that creating one class increments ObjectSpace to 936 then 938 class objects in IRB; demonstrates tools Pry/IRB, object_space, singleton_class and instance_eval; builds a tiny DSL (city_instance) that scaffolds per-city classes via instance_eval and singleton classes and it works to localize custom behavior.

AI-written summary · about

  1. 0:00Introduction
  2. 0:30Chapter 1 The Missing Method
  3. 3:17Jennys Notes
  4. 7:30The Case
  5. 11:33Chapter 3 The Missing Method
  6. 15:20Chapter 4 Case Closed
  7. 16:17Chapter 5 Ellen
  8. 18:24Chapter 6 Ellen
  9. 23:50Chapter 7 Singletons
  10. 27:00Chapter 8 Mike
  11. 29:47Chapter 9 Ellen
~/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.