With Early Release ebooks, you get books in their earliest form — the author's raw and unedited content as he or shewrites — so you can take advantage of these technologies long before the official release of these titles. You'll alsoreceive updates when significant changes are made, new chapters as they're written, and the final ebook bundle.
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.
Chapter 1Ruby 2.1
Chapter 4Date and Time
Chapter 7File and Directories
Chapter 8Code Blocks and Iteration
Chapter 9Objects and Classes Making Methods Private
Chapter 10Modules and Namespaces
Chapter 11Reflection and Metaprogramming
Chapter 12XML and HTML13. Graphics and Other File Formats
Chapter 13Title to Come
Chapter 14Databases and Persistence with a Database Mixin
Chapter 15Internet Services
Chapter 16Web Development: Ruby on Rails
Chapter 17Web Development: Sinatra
Chapter 18Web Services and Distributed Programming
Chapter 19Testing, Debugging, Optimizing, and Documenting
Lucas Carlson founded AppFog, a PaaS company that leveraged Cloud Foundry and was acquired by CenturyLink. Lucas has been a professional developer for 20 years and specializes in Ruby on Rails development. Lucas has authored Programming for PaaS and the Ruby Cookbook and has written half a dozen libraries in various programming languages and contributed to many others, including Rails and RedCloth.
Leonard Richardson (http://www.crummy.com/) is the author of the Ruby Cookbook (O'Reilly) and of several open source libraries, including Beautiful Soup. A California native, he currently lives in New York.