Join Amazon Prime and ship Two-Day for free and Overnight for $3.99. Already a member? Sign in.
Ruby Pocket Reference and over 300,000 other books are available for Amazon Kindle – Amazon’s new wireless reading device. Learn more

 

or
Sign in to turn on 1-Click ordering.
 
 
More Buying Choices
46 used & new from $2.88

Have one to sell? Sell yours here
 
   
Ruby Pocket Reference (Pocket Reference (O'Reilly))
 
 
Start reading Ruby Pocket Reference on your Kindle in under a minute.

Don’t have a Kindle? Get yours here.
 
  

Ruby Pocket Reference (Pocket Reference (O'Reilly)) (Paperback)

by Michael Fitzgerald (Author)
Key Phrases: ruby code, string class, kernel module, Ruby Pocket Reference, Boolean True, Integer Treat (more...)
4.4 out of 5 stars See all reviews (5 customer reviews)

List Price: $9.99
Price: $9.99 & eligible for FREE Super Saver Shipping on orders over $25. Details
  Special Offers Available
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Want it delivered Wednesday, July 15? Choose One-Day Shipping at checkout. Details
31 new from $5.25 15 used from $2.88
Also Available in: List Price: Our Price: Other Offers:
Kindle Edition (Kindle Book) $6.39
Like this book? Find similar titles from O'Reilly and Partners in our O'Reilly Bookstore.

Special Offers and Product Promotions

  • This item is eligible for our 4-for-3 promotion. Eligible products include select Books, Single Copy Magazines, and Home & Garden items. Buy any 4 eligible items and get the lowest-priced item free. Here's how (restrictions apply)
  • Over a hundred thousand items are eligible for our 4-for-3 promotion. How do I find more eligible items?


Best Value

Buy Ruby Pocket Reference (Pocket Reference (O'Reilly)) and get Programming Ruby: The Pragmatic Programmers' Guide, Second Edition at an additional 5% off Amazon.com's everyday low price.

Ruby Pocket Reference (Pocket Reference (O'Reilly)) + Programming Ruby: The Pragmatic Programmers' Guide, Second Edition
Buy Together Today: $38.18

Show availability and shipping details


Customers Who Bought This Item Also Bought

Regular Expression Pocket Reference: Regular Expressions for Perl, Ruby, PHP, Python, C, Java and .NET (Pocket Reference (O'Reilly))

Regular Expression Pocket Reference: Regular Expressions for Perl, Ruby, PHP, Python, C, Java and .NET (Pocket Reference (O'Reilly))

by Tony Stubblebine
4.2 out of 5 stars (27)  $10.19
Rails Pocket Reference (Pocket Reference (O'Reilly))

Rails Pocket Reference (Pocket Reference (O'Reilly))

by Eric Berry
4.0 out of 5 stars (4)  $11.69
The Ruby Programming Language

The Ruby Programming Language

by David Flanagan
5.0 out of 5 stars (25)  $26.39
Programming Ruby 1.9: The Pragmatic Programmers' Guide (Facets of Ruby)

Programming Ruby 1.9: The Pragmatic Programmers' Guide (Facets of Ruby)

by Dave Thomas
4.4 out of 5 stars (62)  $32.97
MySQL Pocket Reference: SQL Functions and Utilities (Pocket Reference (O'Reilly))

MySQL Pocket Reference: SQL Functions and Utilities (Pocket Reference (O'Reilly))

by George Reese
4.8 out of 5 stars (9)  $10.19
Explore similar items

Editorial Reviews

Product Description
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.

About the Author
Michael Fitzgerald, author of "Learning Ruby", describes Ruby as "my favorite language so far" and is working regularly with Ruby and the Rails framework. Mike's enjoyed the Pragmatic Studios Rails course, and has developed a library of sample Ruby code. He is the author of "Learning XSLT" and "XML Hacks", and co-author of the "XML Pocket Reference".

Product Details

  • Paperback: 176 pages
  • Publisher: O'Reilly Media, Inc. (July 18, 2007)
  • Language: English
  • ISBN-10: 0596514816
  • ISBN-13: 978-0596514815
  • Product Dimensions: 6.6 x 4.3 x 0.6 inches
  • Shipping Weight: 5.6 ounces (View shipping rates and policies)
  • Average Customer Review: 4.4 out of 5 stars See all reviews (5 customer reviews)
  • Amazon.com Sales Rank: #338,455 in Books (See Bestsellers in Books)

Inside This Book (learn more)

What Do Customers Ultimately Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
Check the boxes next to the tags you consider relevant or enter your own tags in the field below.
(7)

Your tags: Add your first tag
 
Help others find this product — tag it for Amazon search
No one has tagged this product for Amazon search yet. Why not be the first to suggest a search for which it should appear?

 

Customer Reviews

5 Reviews
5 star:
 (3)
4 star:
 (1)
3 star:
 (1)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.4 out of 5 stars (5 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
5 of 5 people found the following review helpful:
5.0 out of 5 stars Handy Reference and Guide, August 9, 2007
By Scott Schram (Birmingham, AL USA) - See all my reviews
(REAL NAME)   
This book is a handy reference and guide to the Ruby programming language. Small and lightweight, it would be at home in a laptop bag.

I program in several languages (lately: Ruby, Java, XHTML, CSS, JavaScript). A quick reference book like this is helpful when switching contexts, reminding me of the syntax or method call that has slipped my mind.

The explanations and examples concisely illustrate the language concepts. Tables list (often all of) things like pre-defined variables, global constants, etc.

An experienced programmer could learn the important basics of Ruby in a quick scan of the first 60 pages. However, I would still recommend reading one of the thorough tutorial books to get an in-depth understanding of some of the more unique Ruby techniques.

In addition to the items covered in the product description, the book includes:

* The most commonly used areas of the File and IO classes.

* A glossary of Ruby specific terms.

* RDoc, the utility for extracting documentation embedded in comments in Ruby source, and the basics of formatting your comments for RDoc.

* A thorough 20 page index including all of the special characters (punctuation) in use in Ruby. Very handy when trying to read someone else's code.

* Many links to Ruby resources on the web.

Note that the Amazon book description should read "sprintf and time formatting *directives*". That is, the special character combination for formatting strings and the output of time.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
9 of 11 people found the following review helpful:
3.0 out of 5 stars Who is the Audience?, January 16, 2008
By David Hume (Seattle) - See all my reviews
  
I'm always tempted by pocket references, and nearly always disappointed. The Ruby Pocket Reference is no exception.

It is not clear who the target audience is. Beginning ruby programmers would not find enough tutorial information here to get started. Experienced ruby programmers will not find anything here that isn't more easily (and more accurately) found in ri or rdoc documentation.

To make matters worse, I found a number of errors. For instance, in sec. 1.16.1.1 the examples given of the 'not' operator (!) are incorrect - the examples repeatedly are of the form !x == y where what was intended was !(x == y). Sec. 1.16.5 claims that the ruby case statement uses the semantics of == to evaluate the 'when' expressions, then goes on to show examples that illustrate that it is actually the === operator that is used.

Other parts of the book are simply not helpful. For example, sec. 1.16.6 talks about the "for var in container" construct, but the examples only show this being applied to Ranges, and the text never mentions that the construct will work on any implementer of Enumerable.

In all, I cannot recommend this book to anyone. If you need a portable ruby reference, then get the PDF of the Pickaxe book and carry it on your stick. If you need a good beginner's tutorial, there are plenty of them online (check out Why the Lucky Stiff, for example).
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
4 of 4 people found the following review helpful:
4.0 out of 5 stars Handy reference for the experienced Ruby programmer, August 30, 2007
By calvinnme "Texan refugee" (Fredericksburg, Va) - See all my reviews
(TOP 10 REVIEWER)      
You probably could learn Ruby from this handy little pocket guide, but I wouldn't advise trying it. The examples are much too short and sweet to really do a good job of it. For the experienced Ruby programmer, though, it is a great reference on all aspects of the language. It even has introductory material on how to get started running Ruby, plus some bonus material at the end on RubyGems, Rake, and a listing of additional Ruby resources - some online and some that are books. RubyGems is a package utility for Ruby that installs Ruby software packages and keeps them up to date. It is even easier to use than tools like the Unix/Linux tar utility or Java's jar utility. Rake is a build tool that helps you build, compile, or otherwise process files, sometimes large numbers of them. Rake is similar to "make" and Apache ant, but is written in Ruby. Rails operations use Rake frequently.

The only negative thing I can say is that it seems like the book was hastily edited. I haven't seen any errors in the technical directions yet, but I have caught more than a few grammar errors and odd repetitions in the regular text that might have you scratching your head and wondering what the author meant. The following is the table of contents:

Chapter 1. Ruby Pocket Reference
Section 1.1. Conventions Used in This Book
Section 1.2. Comments and Questions
Section 1.3. Acknowledgments
Section 1.4. Running Ruby
Section 1.5. Reserved Words
Section 1.6. Operators
Section 1.7. Comments
Section 1.8. Numbers
Section 1.9. Variables
Section 1.10. Symbols
Section 1.11. Predefined Variables
Section 1.12. Pseudovariables
Section 1.13. Global Constants
Section 1.14. Ranges
Section 1.15. Methods
Section 1.16. Conditional Statements
Section 1.17. Classes
Section 1.18. Files
Section 1.19. The IO Class
Section 1.20. Exception Handling
Section 1.21. Object Class
Section 1.22. Kernel Module
Section 1.23. String Class
Section 1.24. Array Class
Section 1.25. Hash Class
Section 1.26. Time Formatting Directives
Section 1.27. Interactive Ruby (irb)
Section 1.28. Ruby Debugger
Section 1.29. Ruby Documentation
Section 1.30. RDoc Options
Section 1.31. RubyGems
Section 1.32. Rake
Section 1.33. Ruby Resources
Section 1.34. Glossary
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews

5.0 out of 5 stars Excellent pocket guide
150 pages, really fits in a pocket. Well written, great reference, could serve as a tutorial in a pinch.
Published 18 months ago by Paul Kavanagh

5.0 out of 5 stars Not only a top pick for libraries
Michael Fitzgerald's RUBY provides an excellent quick programmer's reference to Ruby which is organized for speedy consultation. Read more
Published 22 months ago by Midwest Book Review

Only search this product's reviews



Customer Discussions

 Beta (What's this?)
New! See all customer communities, and bookmark your communities to keep track of them.
This product's forum (0 discussions)
  Discussion Replies Latest Post
  No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
  [Cancel]


Active discussions in related forums
  Discussion Replies Latest Post
Ruby on Rails, beginner 2 2 days ago
   


Product Information from the Amapedia Community

Beta (What's this?)

Listmania!



Look for Similar Items by Category


Free Songs, Cheap Albums
Special MP3 Deals
Visit our Special Deals Store to find ultra-low prices on great albums, daily deals, and over 500 free songs.

Shop now

 

Big Savings in Books

Bargain Books
Find great titles at fantastic prices in our Bargain Books Store.
 

Buy Three Books, Get a Fourth Free

4-for-3 Books
Order any four eligible books under $10 and get the lowest-price book free in our 4-for-3 Books Store. See more details.
 

Best Books

Best of the Month
See our editors' picks and more of the best new books on our Best of the Month page.
 

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Where's My Stuff?

Shipping & Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.

Look to the right column to find helpful suggestions for your shopping session.

Continue shopping: Top Sellers
Paranoia
Paranoia by Joseph Finder
My Soul to Lose
My Soul to Lose by Rachel Vincent
Glenn Beck's Common Sense
Glenn Beck's Common Sense

Conditions of Use | Privacy Notice © 1996-2009, Amazon.com, Inc. or its affiliates