~/talk

Ruby Rendezvous: Method Call, Proc, and Beyond

Talkat wroc_love.rb 2023 · 2023-09-15..09-17· [ruby]
links:none on file
slides:none on file

Survey of concrete Ruby tricks: shows how parser rules in parse.y cause multi-line string concatenation in Ruby 3.2, inspects 14 ways to invoke methods (Greg’s 12 plus two found here), demonstrates :: used as a call operator vs dot, explains triple-equals proc dispatch (available since 1.9.1) and using proc.=== in case, unpacks Hash#to_proc implementation that produces [k,v] pairs for map, and demos currying with double-bracket invocation and using method objects (e.g. 2.method(:+).to_proc) to supply a fixed first argument.

AI-written summary · about

  1. 0:00Introduction and welcome
  2. 1:06Finding the right title
  3. 3:15Talk overview and nostalgia
  4. 5:49Ruby string concatenation quirks
  5. 9:13Method calling in Ruby
  6. 10:58Double colon operator
  7. 14:36Calling a proc
  8. 19:36Triple equals for procs
  9. 21:49Methods with arguments
  10. 25:06Currying procs
  11. 26:32Map with ampersand
  12. 30:37Hash with map
  13. 32:32Iterator variable tricks
  14. 33:15Summary and examples
  15. 34:00Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.