Ruby Cookbook, 2nd Edition
Recipes for Object-Oriented Scripting
Publisher: O'Reilly Media
Final Release Date: March 2015
Pages: 992

Why spend time on coding problems that others have already solved when you could be making real progress on your Ruby project? This updated cookbook provides more than 350 recipes for solving common problems, on topics ranging from basic data structures, classes, and objects, to web development, distributed programming, and multithreading.

Revised for Ruby 2.1, each recipe includes a discussion on why and how the solution works. You’ll find recipes suitable for all skill levels, from Ruby newbies to experts who need an occasional reference. With Ruby Cookbook, you’ll not only save time, but keep your brain percolating with new ideas as well.

Recipes cover:

  • Data structures including strings, numbers, date and time, arrays, hashes, files and directories
  • Using Ruby’s code blocks, also known as closures
  • OOP features such as classes, methods, objects, and modules
  • XML and HTML, databases and persistence, and graphics and other formats
  • Web development with Rails and Sinatra
  • Internet services, web services, and distributed programming
  • Software testing, debugging, packaging, and distributing
  • Multitasking, multithreading, and extending Ruby with other languages
Table of Contents
Product Details
About the Author
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyRuby Cookbook, 2nd Edition
 
3.3

(based on 4 reviews)

Ratings Distribution

  • 5 Stars

     

    (1)

  • 4 Stars

     

    (1)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (2)

  • 1 Stars

     

    (0)

67%

of respondents would recommend this to a friend.

Reviewed by 4 customers

Displaying reviews 1-4

Back to top

 
4.0

Very useful

By Tom Kirby-Green

from UK

Verified Buyer

Pros

  • Easy to understand
  • Helpful examples
  • Well-written

Cons

    Best Uses

      Comments about oreilly Ruby Cookbook, 2nd Edition:

      Had to rapidly grok Ruby for the first time in order to deliver a Dashing dashboard and this book was immensely helpful. The cookbook format delivers, and even if there isn't the specific dish you're looking for, there's something close enough that you can bend it to your will. Much goodness to learn from.

       
      5.0

      Great resource!

      By FriendlyFulcrum

      from Austin, TX

      Verified Buyer

      Comments about oreilly Ruby Cookbook, 2nd Edition:

      Clear examples and use cases !

      (3 of 5 customers found this review helpful)

       
      2.0

      Hardly updated for recent versions of Ruby

      By Jamal

      from Washington, DC

      About Me Developer

      Verified Buyer

      Pros

      • Helpful examples
      • Well-written

      Cons

      • Insufficiently Updated

      Best Uses

      • Intermediate

      Comments about oreilly Ruby Cookbook, 2nd Edition:

      I was disappointed to discover that the content of the book had hardly been updated for Ruby 2.0 and above. It could be a great book if updating is done thoroughly.

      (4 of 6 customers found this review helpful)

       
      2.0

      Little changed from 1st Ed.

      By Ben Unger

      from Bronx, NY

      About Me Maker

      Verified Reviewer

      Pros

      • Easy to understand

      Cons

      • Dated

      Best Uses

        Comments about oreilly Ruby Cookbook, 2nd Edition:

        I've got a hard copy of the 1st Edition published in 2007. It seemed a little dated so I bought the 2nd ed published in 4/2015. I regret wasting my money. A lot has changed in the mean time but the only change in the second edition seems to be a new 1st chapter exploring the difference between ruby 1.8 and 2.1. I should have known when there wasn't info describing 'What's new in this edition." I guess the authors are no longer excited about the mission of this book and have moved on to other projects. 99% of the useful info in this book can be found in a used copy of the 1st edition.

        Displaying reviews 1-4

        Back to top

         
        Buy 2 Get 1 Free Free Shipping Guarantee
        Buying Options
        Immediate Access - Go Digital what's this?
        Ebook:  $42.99
        Formats:  DAISY, ePub, Mobi, PDF
        Print & Ebook:  $54.99
        Print:  $49.99