Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Code examples from Ruby Best Practices

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 dynamic_toolkit Examples for Dynamic toolkit chapter January 29, 2009
Octocat-spinner-32 stdlib Add 'when things go wrong' examples February 22, 2009
Octocat-spinner-32 testing minor cleanup January 18, 2009
Octocat-spinner-32 when_things_go_wrong More code samples February 27, 2009
Octocat-spinner-32 worst_practices More code samples February 27, 2009
Octocat-spinner-32 README Initial import January 10, 2009
== "Ruby Best Practices" Code Samples ==

This repository is for the code samples from the O'Reilly book "Ruby Best
Practices" by Gregory Brown, available at:

All of the examples here are free software, but some license terms and proper
attributions might be missing from code segments until the time of publication
of the book.  This means if you wish to re-use any code seen here, please
contact me at and I'll let you know who wrote it and
what the terms are.  I will be sure to update these things before the book hits
the shelf.

Although the code samples might be an interesting teaser, they might not be
useful out of context, as some of the examples seen here are actually
anti-patterns to best practices.

Eventually, all of the non-trivial code samples that appear in the book will be in
this repository. For now, it will be incomplete and in constant flux.

Enjoy, and please contact me with any questions.

Something went wrong with that request. Please try again.