~/lightning

Lightning Talk: Smooshing Ruby

Lightningat XO Ruby Portland 2025 · on Saturday, 2025-10-11· [ruby]
slides:none on file

Claims a working, compact Ruby shim that lets you alias flatten to smoosh and add depth control by pattern-matching method names. Implementation uses metaprogramming: method_missing with regex to parse depth, calls a non-bang flatten-style routine and favors a non-bang recursive pattern that returns a new array. About a dozen lines of code produce the feature; it works but admits safety and clarity tradeoffs.

AI-written summary · about

~/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.