Kalpana Kalpana (Editor)

Why's (poignant) Guide to Ruby

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
8
/
10
1
Votes
Alchetron
8
1 Ratings
100
90
81
70
60
50
40
30
20
10
Rate This

Rate This

Originally published
  
2005

Illustrator
  
why the lucky stiff


Author
  
why the lucky stiff

Why's (poignant) Guide to Ruby t1gstaticcomimagesqtbnANd9GcR60ZVsUXB5aL6s

Similar
  
Programming Ruby, Learn to program, Eloquent Ruby, The Well‑Grounded Rubyist, The Book of Ruby: A Hands‑O

Introducing why s poignant guide to ruby


why's (poignant) Guide to Ruby, sometimes called w(p)GtR or just "the poignant guide", is an introductory book to the Ruby programming language, written by why the lucky stiff. The book is distributed under the Creative Commons Attribution-ShareAlike license.

Contents

The book is unusual among programming books in that it includes quite a lot of strange humor and narrative side tracks which are sometimes completely unrelated to the topic. Many motifs have become inside jokes in the Ruby community, such as references to the words "chunky bacon". The book includes many characters which have become popular as well, particularly the cartoon foxes and Trady Blix, a large black feline friend of why's, who acts as a guide to the foxes (and occasionally teaches them some Ruby).

The book is published in HTML and PDF. Chapter three was reprinted in The Best Software Writing I: Selected and Introduced by Joel Spolsky (Apress, 2005).

Contents

  1. About this book
  2. Kon'nichi wa, Ruby
  3. A Quick (and Hopefully Painless) Ride Through Ruby (with Cartoon Foxes): basic introduction to central Ruby concepts
  4. Floating Little Leaves of Code: evaluation and values, hashes and lists
  5. Them What Make the Rules and Them What Live the Dream: case/when, while/until, variable scope, blocks, methods, class definitions, class attributes, objects, modules, introspection in IRB, dup, self, rbconfig module
  6. Downtown: metaprogramming, regular expressions
  7. When You Wish Upon a Beard: send method, new methods in existing classes

The following chapters are "Expansion Packs":

  1. The Tiger's Vest (with a Basic Introduction to IRB): discusses IRB, the interactive Ruby interpreter.

References

Why's (poignant) Guide to Ruby Wikipedia