Ruby Pocket Reference
Although Ruby is an easy language to learn, in the heat of action you may find that you can't remember the correct syntax for a conditional or the name of a method. This handy pocket reference offers brief yet clear explanations of Ruby's core components, from operators to reserved words to data structures to method syntax, highlighting those key features that you'll likely use every day when coding Ruby.
Whether you've come to Ruby because of the Rails web development framework—Ruby's killer app—or simply because it's a relatively clean, powerful and expressive language that's useful for a lot of applications, the Ruby Pocket Reference is organized to help you find what you need quickly. This book not only will get you up to speed on how Ruby works, it provides you with a handy reference you can use anywhere, anytime.
In this book, you find essential information on:
- Reserved words, operators, comments, numbers, variables, ranges, and symbols.
- Predefined variables andglobal constants.
- Conditional statements, method use, classes, and modules (mixins).
- Lists of methods from the Object, String, Array, and Hash classes and the Kernel module.
- sprintf and time formatting directives.
- Interactive Ruby (irb), Rake, and Ruby Gems.
- Ruby documentation (RDoc).
If you're using Ruby daily and just want the facts—fast—Ruby Pocket Reference is your book.
Praise
"It's a little thing, this Ruby Pocket Reference, but it's also a mighty big thing if you are working with the Ruby language. Ruby is an easy language to learn, but when you are down in the trenches and, especially, when you are far from home, its nice having this little reference book close by."
—T. Michael Testi, Blogcritics Magazine

