The Enumerable Module or How I fell in Love with Ruby

A session at Cascadia Ruby 2011

We will discuss my personal and humble beginnings in ruby being a young college grad, entering the world of ‘professional’ software development. The Array class in Ruby immediately fascinated me. Soon, the Hash class would join its company. I finally found the granddaddy of them all, the Enumerable module.

We will explore how the Enumerable module empowers some of our favorite Ruby types (Array, Hash). We will then also take a brief look at the Standard Lib Set class (introduced in 1.9) that further shows the beauty of the Enumerable module to create data structures in Ruby. Finally, we'll see a naive implementation of another data structure using the Enumerable module.

The purpose of this talk is to share and encourage others (especially people new to Ruby) to explore core classes and Ruby. Spend time staring at methods in our classes and dare to tinker. I guarantee that doing so will be a start of a fruitful and passionate love affair with Ruby!

About the speaker

This person is speaking at this event.
Haris Amin

Coverage of this session

Sign in to add slides, notes or videos to this session

Tell your friends!

Short URL

lanyrd.com/sgzmy

Official event site

cascadiaruby.com

View the schedule

Share

Topics

See something wrong?

Report an issue with this session