Learning Ruby [NOOK Book]

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 ...

See more details below
Learning Ruby

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK
  • NOOK HD/HD+ Tablet
  • NOOK
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK for Web

Want a NOOK? Explore Now

NOOK Book (eBook)
$15.49
BN.com price
(Save 44%)$27.99 List Price

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.
Read More Show Less

Product Details

  • ISBN-13: 9780596555320
  • Publisher: O'Reilly Media, Incorporated
  • Publication date: 5/14/2007
  • Sold by: Barnes & Noble
  • Format: eBook
  • Edition number: 1
  • Pages: 260
  • Sales rank: 752,043
  • File size: 4 MB

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.

Read More Show Less

Table of Contents

Dedication

Preface

Chapter 1: Ruby Basics

Chapter 2: A Quick Tour of Ruby

Chapter 3: Conditional Love

Chapter 4: Strings

Chapter 5: Math

Chapter 6: Arrays

Chapter 7: Hashes

Chapter 8: Working with Files

Chapter 9: Classes

Chapter 10: More Fun with Ruby

Chapter 11: A Short Guide to Ruby on Rails

Ruby Reference

Answers to Review Questions

Glossary

Colophon

Read More Show Less

Customer Reviews

Average Rating 4.5
( 4 )
Rating Distribution

5 Star

(2)

4 Star

(1)

3 Star

(1)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing all of 4 Customer Reviews
  • Posted February 5, 2009

    Great Cookbook

    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.<BR/><BR/>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.

    1 out of 1 people found this review helpful.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted July 3, 2007

    Good Book for Beginners

    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.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted October 16, 2010

    No text was provided for this review.

  • Anonymous

    Posted March 27, 2013

    No text was provided for this review.

Sort by: Showing all of 4 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)