Cover of Ruby Cookbook

Ruby Cookbook

Do you want to push Ruby to its limits? The Ruby Cookbookis the most comprehensive problem-solving guide to today's hottest programming language. It gives you hundreds of solutions to real-world problems, with clear explanations and thousands of lines of code you can use in your own projects.

Read more

From data structures and algorithms, to integration with cutting-edge technologies, the Ruby Cookbookhas something for every programmer. Beginners and advanced Rubyists alike will learn how to program with:

Strings and numbers

Arrays and hashes

Classes, modules, and namespaces

Reflection and metaprogramming

XML and HTML processing

Ruby on Rails (including Ajax integration)

Databases

Graphics

Internet services like email, SSH, and BitTorrent

Web services

Multitasking

Graphical and terminal interfaces

If you need to write a web application, this book shows you how to get started with Rails. If you're a system administrator who needs to rename thousands of files, you'll see how to use Ruby for this and other everyday tasks. You'll learn how to read and write Excel spreadsheets, classify text with Bayesian filters, and create PDF files. We've even included a few silly tricks that were too cool to leave out, like how to blink the lights on your keyboard.

The Ruby Cookbookis the most useful book yet written about Ruby. When you need to solve a problem, don't reinvent the wheel: look it up in the Cookbook.

Audience
adult
Length
epic · 873 pages

Click a tag to see books like this one that share it. Point at it (on a phone, tap it) for less of it instead.

Read it? Sign in to help tag it.

Liked Ruby Cookbook? Here’s where I’d start.

These suit anyone who liked Ruby Cookbook. Sign in and mark a few books for picks shaped around your own taste.

  1. Ruby Best Practices Shares ruby, programming, software
  2. Learning Ruby Shares ruby, programming, computers
  3. The Ruby Way: Solutions and Techniques in Ruby Programming (Addison-Wesley Professional Ruby Series) Shares ruby, programming, tech
  4. Metaprogramming Ruby Shares ruby, programming, tech

“People who read Ruby Cookbook tend to reach for these next.”

  1. The Ruby Programming Language
  2. Programming Ruby: The Pragmatic Programmers' Guide
  3. Rails Recipes
  4. The Rails 3 Way

“If you want more of the same (science about technology), start with these.”

  1. The Well-Grounded Java Developer: Vital techniques of Java 7 and polyglot programming
  2. Docker: Up & Running: Shipping Reliable Containers in Production
  3. Learning Android
  4. Expert C Programming: Deep C Secrets

“If it was the ruby that hooked you, try one of these.”

  1. Ruby Under a Microscope
  2. Exceptional Ruby: Master the Art of Handling Failure in Ruby
  3. Design Patterns in Ruby
  4. Service-Oriented Design with Ruby and Rails

“These start from a similar idea, even if they go somewhere else with it.”

  1. Building Node Applications with MongoDB and Backbone
  2. Automate the Boring Stuff with Python: Practical Programming for Total Beginners
  3. Learning Perl
  4. Perl Cookbook