Making basic objects by Eric Roberts

This is a past event

15 people went

Location image of event venue


Booleans, symbols, numbers, string, arrays, and hashes are all fundamental language features that allow us to do many things. But have you ever felt you needed more?

In this talk Eric Roberts ( will walk us through the basics of creating a Percent class that we can use instead of other workarounds. While we will deal specifically with percent, you will learn how to make any sort of numeric class you could want. We'll cover implementing common methods and the coerce method.

Eric's percent class can be found here