Need help with rbp?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

123 Stars 12 Forks 11 Commits 0 Opened issues


Code examples from Ruby Best Practices

Services available


Need anything else?

Contributors list

# 32,460
11 commits

== "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 [email protected] 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.


We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.