~/talk

2 + Cats = 4 * Cute: How Math Works in Ruby

Talkat RubyConf 2014 · 2014-11-17..11-19· [ruby]
slides:none on file

Explains how Ruby handles numeric operations and mixed-type addition via the coerce method, using examples like adding integers and custom objects (e.g., a Cat). Covers how coerce controls type conversion and what happens when objects can’t be coerced into Fixnum, plus ways to implement or misuse coerce to change arithmetic behavior.

AI-written summary · about

  1. 0:00Start
  2. 4:26Scalars vs. Vectors
  3. 13:10Here's some Ruby
  4. 18:16Other Coercion Uses
  5. 20:01Resources
~/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.