Push Ruby to its limits. Ruby Cookbook is the most comprehensive problem-solving guide to this popular language, with hundreds of solutions to real-world problems. Each detailed recipe provides code that you can use in your own projects right away, as well as a discussion on why the solution works. Updated to include Ruby 1.9 and 2.0, the second edition includes recipes for the Rails framework and other projects involving Ruby. From data structures and algorithms to integration with cutting-edge technologies, Ruby Cookbook covers a wide range of programming topics for beginners and advanced Rubyists alike.