Ruby Pocket Reference

Preparing link to download Please wait... Download

E-Book Overview

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 andtime formatting directories Interactive Ruby (irb) and the Ruby debugger Ruby documentation You also get information on the RubyGems package utility and Rake, a build tool similar to make.. If you're using Ruby daily and just want the facts-fast-Ruby Pocket Reference is your book.

E-Book Content

Ruby Pocket Reference Michael Fitzgerald Beijing • Cambridge • Farnham • Köln • Paris • Sebastopol • Taipei • Tokyo Ruby Pocket Reference by Michael Fitzgerald Copyright © 2007 Michael Fitzgerald. All rights reserved. Printed in Canada. Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472. O’Reilly books may be purchased for educational, business, or sales promotional use. Online