~/talk

My Meta Moments

Talkat RubyConf 2016 · 2016-11-10..11-12· [ruby]
github:dewyze
slides:none on file

Metaprogramming is presented as learnable and fun and the concrete result is a working Putter gem that instruments code to log call site file/line, arguments and return values. It actually uses method_missing, define_method, `send`, `prepend`, singleton classes, `BasicObject` and `instance_exec` to wrap instances and override `new` so every created object can be followed. The demo prints real outputs, warns about cache invalidation, slower paths and harder tests, and shows the gem functioning on class and instance methods.

AI-written summary · about

  1. 0:00Start
  2. 11:37INHERITANCE
  3. 13:12ANCESTORS
  4. 15:31METHOD DISPATCH
  5. 24:11SINGLETON CLASSES
  6. 27:00instance eval
  7. 29:19PUTTER
~/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.