• Stars
    star
    122
  • Rank 292,031 (Top 6 %)
  • Language
    Ruby
  • Created almost 16 years ago
  • Updated over 15 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Code examples from Ruby Best Practices
== "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:

  http://rubybestpractices.com

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.

-greg

More Repositories

1

rbp-book

Ruby Best Practices, by Gregory Brown
311
star
2

korma

Git based blog?
Ruby
69
star
3

prawn-layout

NOTE: prawn-layout has been merged into the main prawn repository as of 2010.02.25 (http://github.com/sandal/prawn), however the stable branch of prawn-layout 0.8.x is still hosted here.
Ruby
69
star
4

bookie

experimental book formatting toolchain
Ruby
62
star
5

prawn-gallery

A collection of sample programs for the Prawn PDF generation library
Ruby
43
star
6

rbp-blog

Ruby Best Practices: The Blog
CSS
32
star
7

tictactoe

Ruby
29
star
8

vintage

6502 Emulator, Maybe.
Ruby
29
star
9

pdf-writer

PDF::Writer for Ruby. Use Prawn instead.
Ruby
19
star
10

guides

15
star
11

terrarium

Ruby
9
star
12

fatty

Format Abstraction Toolkit-ty, will eventually be used by Ruport
Ruby
8
star
13

waffle

Ruby
7
star
14

binary_examples

Ruby
6
star
15

stack_wars

Ruby
6
star
16

brine

Simple presentation software based on Prawn
Ruby
5
star
17

icfp04-practice

Nothing to see here, move along
Ruby
3
star
18

three_amigos_ipsc

Ruby
3
star
19

dotfiles

Vim Script
3
star
20

jia-learning

Teaching Jia Ruby
Ruby
3
star
21

pressman

A game we made up as kids
Ruby
2
star
22

subway

Subtitle processing hacks
2
star
23

tdd-bowling

Quick exercise w. Chenoa
2
star
24

unreleased-manuscripts

2
star
25

pizzapalace

2
star
26

minitest-helpers

My personal collection of minitest helpers, mostly stolen from others
Ruby
2
star
27

bowling-kata

Ruby
2
star
28

erlang-practice

Erlang
2
star
29

sharma-numerical

Annotated and cleaned up text book examples for Dr. Sharma's Numerical Analysis course at UNH
Objective-C
2
star
30

puzzlenode-solutions

Ruby
2
star
31

tiger-prawn

Ruby
1
star
32

j17-fact-sheets

Ruby
1
star
33

pdf

An experiment in writing a super low level PDF library
Ruby
1
star
34

fallingblocks

Ruby
1
star
35

pr-issue-22

1
star
36

elemental_ruby

Ruby
1
star
37

evo

Ruby
1
star
38

learning-chinese

1
star
39

baby.gregandjia.com

1
star
40

vellum

Ruby
1
star
41

compleat-testing

Demonstration on how to build a minimal testing framework
1
star
42

dwbh

SMS based polling mechanism for mood study
Ruby
1
star
43

electric-waterfall

Ruby
1
star
44

nested-form-issue

Ruby
1
star
45

nickmauro.com

1
star
46

sandal.github.com

HTML
1
star
47

pdf-book

Ruby
1
star
48

practicing-ruby-paid

Ruby
1
star