×

Uh-oh, it looks like your Internet Explorer is out of date.

For a better shopping experience, please upgrade now.

Learning Ruby
  • Alternative view 1 of Learning Ruby
  • Alternative view 2 of Learning Ruby
     

Learning Ruby

4.2 4
by Michael Fitzgerald
 

You don't have to know everything about a car to drive one, and you don't need to know everything about Ruby to start programming with it. Written for both experienced and new programmers alike, Learning Ruby is a just-get-in-and-drive book — a hands-on tutorial that offers lots of Ruby programs and lets you know how and why they work, just enough to

Overview

You don't have to know everything about a car to drive one, and you don't need to know everything about Ruby to start programming with it. Written for both experienced and new programmers alike, Learning Ruby is a just-get-in-and-drive book — a hands-on tutorial that offers lots of Ruby programs and lets you know how and why they work, just enough to get you rolling down the road.

Interest in Ruby stems from the popularity of Rails, the web development framework that's attracting new devotees and refugees from Java and PHP. But there are plenty of other uses for this versatile language. The best way to learn is to just try the code! You'll find examples on nearly every page of this book that you can imitate and hack. Briefly, this book:

  • Outlines many of the most important features of Ruby
  • Demonstrates how to use conditionals, and how to manipulate strings in Ruby. Includes a section on regular expressions
  • Describes how to use operators, basic math, functions from the Math module, rational numbers, etc.
  • Talks you through Ruby arrays, and demonstrates hashes in detail
  • Explains how to process files with Ruby
  • Discusses Ruby classes and modules (mixins) in detail, including a brief introduction to object-oriented programming (OOP)
  • Introduces processing XML, the Tk toolkit, RubyGems, reflection, RDoc, embedded Ruby, metaprogramming, exception handling, and other topics
  • Acquaints you with some of the essentials of Rails, and includes a short Rails tutorial.
Each chapter concludes with a set of review questions, and appendices provide you with a glossary of terms related to Ruby programming, plus reference material from the book in one convenient location. If you want to take Ruby out for a drive, Learning Ruby holds the keys.

Product Details

ISBN-13:
9780596529864
Publisher:
O'Reilly Media, Incorporated
Publication date:
05/01/2007
Pages:
260
Product dimensions:
7.00(w) x 10.86(h) x 0.63(d)

Meet the Author

Michael Fitzgerald describes Ruby as "my favorite language so far" and is working regularly with Ruby and the Rails framework. He has written over 150 Ruby programs for testing and demonstration, and has been developing a library of sample Ruby code. He is the author of Learning XSLT and XML Hacks, and co-author on the XML Pocket Reference.

Customer Reviews

Average Review:

Post to your social network

     

Most Helpful Customer Reviews

See all customer reviews

Learning Ruby 4.3 out of 5 based on 0 ratings. 4 reviews.
Computer_Science_House More than 1 year ago
Learning Ruby is a great book for experts and novices that are looking to learn Ruby. It effectively addresses the needs of people who are learning Ruby as their first programming language and people who already know many languages. This book shows many good code examples that demonstrate the power of the language in an easy to understand way while showing good programming techniques. It flows in a very easy to follow fashion with one section immediately building on the previous.

I feel comfortable after reading this book to use Ruby for basic scripting tasks and application development. I look forward to learning more about the language after seeing the power that it has to offer to a programmer. I would recommend this book to anyone who is interested in learning Ruby as a first language. If you are looking to learn some of the more in-depth features of Ruby I would suggest looking at O'Reilly's Ruby Cookbook.
Anonymous More than 1 year ago
Anonymous More than 1 year ago
Guest More than 1 year ago
Beginning Ruby is a great book for experts and novices that are looking to learn Ruby. It effectively addresses the needs of people who are learning Ruby as their first programming language and people who already know many languages. This book shows many good code examples that demonstrate the power of the language in an easy to understand way while showing good programming techniques. It flows in a very easy to follow fashion with one section immediately building on the previous. I feel comfortable after reading this book to use Ruby for basic scripting tasks and application development. I look forward to learning more about the language after seeing the power that it has to offer to a programmer. I would recommend this book to anyone who is interested in learning Ruby as a first language. If you are looking to learn some of the more in-depth features of Ruby I would suggest looking at O'Reilly's Ruby Cookbook.