Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (16 sloc) 933 Bytes

Introduction to Advanced Ruby

The Ruby programming language is really powerful, but if you don't dig too deep beyond what basic Rails applications can do, you'll miss out on a lot of useful tools that you could be using to make your apps better.

This repository has code examples that attempt to explain these basic concepts. Each example has tests so you know things are working properly.

We'll cover

  • send and respond_to?

  • Blocks

  • Lambdas

  • Adding methods with monkeypatches vs modules

  • Overriding methods with monkeypatching vs modules

  • Putting it all together, using these elements to build an “interface”

Each file in this repository has detailed comments that walk you through the concepts, followed by tests and code that you can explore.


MIT. Copyright 2010 Brian P. Hogan. See the license file.

Also, this code is for demonstration purposes. There's nothing production-ready in this repository.

Jump to Line
Something went wrong with that request. Please try again.