Day 2. Hello, Objects!

Just be the ball, be the ball, be the ball.

—Chevy Chase as Ty Webb in Caddyshack (1980)

We will be spending this day learning about objects in Ruby, designing them, creating them, examining them, giving them names, and teaching them tricks. We'll cover quite a bit of ground in a short space here, so don't rush through; take your time.

Get Sams Teach Yourself Ruby in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.