Buying Options
Ruby in a Nutshell
Print $24.95
Add to Cart
Print+Ebook $27.45
Add to Cart
Ebook $19.99
Add to Cart
Safari Books Online
Add to Cart
What is this?
Print £18.99
Add to Cart
What is this?
Description

Written by Yukihiro Matsumoto ("Matz"), creator of the language, Ruby in a Nutshell is a practical reference guide covering everything from Ruby syntax to the specifications of its standard class libraries. The book is based on Ruby 1.6, and is applicable to development versions 1.7 and the next planned stable version 1.8. As part of the successful "in a Nutshell" series of books from O'Reilly & Associates, Ruby in a Nutshell is for readers who want a single desktop reference for all their needs.

Full Description
Table of Contents
  1. Chapter 1 Introduction

    1. Ruby's Elegance

    2. Ruby in Action

  2. Chapter 2 Language Basics

    1. Command-Line Options

    2. Environment Variables

    3. Lexical Conventions

    4. Literals

    5. Variables

    6. Operators

    7. Methods

    8. Control Structures

    9. Object-Oriented Programming

    10. Security

  3. Chapter 3 Built-in Library Reference

    1. Predefined Variables

    2. Predefined Global Constants

    3. Built-in Functions

    4. Built-in Library

  4. Chapter 4 Standard Library Reference

    1. Standard Library

  5. Chapter 5 Ruby Tools

    1. Standard Tools

    2. Additional Tools

    3. Ruby Application Archive

  6. Chapter 6 Ruby Updates

    1. Summary of Changes

    2. Changes from 1.6.5 to 1.7.1

    3. The Future of Ruby

    4. Participate in Ruby

  1. Colophon

View Full Table of Contents
Product Details
Title:
Ruby in a Nutshell
By:
Yukihiro Matsumoto
Publisher:
O'Reilly Media
Formats:
  • Print
  • Ebook
  • Safari Books Online
Print Release:
November 2001
Ebook Release:
June 2009
Pages:
224
Print ISBN:
978-0-596-00214-5
| ISBN 10:
0-596-00214-9
Ebook ISBN:
978-0-596-10360-6
| ISBN 10:
0-596-10360-3
Customer Reviews
About the Author
  1. Yukihiro Matsumoto

    Yukihiro Matsumoto ("Matz"), the creator of Ruby, is a professional programmer who worked for the Japanese open source company, netlab.jp. Matz is also known as one of the open source evangelists in Japan. He's released several open source products, including cmail, the emacs-based mail user agent, written entirely in emacs lisp. Ruby is his first piece of software that has become known outside of Japan.

    View Yukihiro Matsumoto's full profile page.

Colophon

Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animal on the cover of Ruby in a Nutshell is a wild goat. Also known as a bezoar goat (Capra aegagrus), this species, found on the Greek islands and in Turkey, Iran, Turkmenia, and Pakistan, can grow to 300 pounds and up to 4 feet tall.

Goats have cloven hooves, which means they are split into two toes. Both males and females have short beards the same color as their wool and horns that curve backward. Bezoar goat horns are scimitar-shaped with sharp inside edges, and their bodies are covered in a coarse wool that can be black, brown, gray, red, or white. Their wool helps them survive harsh climates. Bezoar goats are herbivores, and their diet consists of grass, twigs, leaves, berries, and bark. Wild female and baby goats live together in packs of about 50; males live by themselves or in all-male packs. During the mating season, males give off an oily substance from their skin that attracts females. Males can get into terrific fights over females, and the winning male gets to mate. Females give birth to one or two babies, or kids.

Wild goats are listed as vulnerable in the 1996 IUCN Red List of Threatened Animals. An animal is listed as vulnerable when it isn't critically endangered but faces a high risk of extinction in the wild. Bezoar goats are losing more and more land to development in their native countries. Mary Anne Weeks Mayo was the production editor and proof reader, and Ellie Cutler was the copyeditor for Ruby in a Nutshell. Darren Kelly and Sheryl Avruch provided quality control. Derek DiMatteo provided production assistance. Lucie Haskins wrote the index.

Hanna Dyer designed the cover of this book, based on a series design by Edie Freedman. The cover image is a 19th-century engraving from the Dover Pictorial Archive. Emma Colby produced the cover layout with QuarkXPress 4.1 using Adobe's ITC Garamond font. Melanie Wang designed the interior layout based on a series design by Nancy Priest. Neil Walls converted the files from Microsoft Word to FrameMaker 5.5.6 using tools created by Mike Sierra. The text and heading fonts are ITC Garamond Light and Garamond Book. This colophon was compiled by Mary Anne Weeks Mayo

Whenever possible, our books use a durable and flexible lay-flat binding. If the page count exceeds this binding's limit, perfect binding is used.

  • Book cover of Ruby in a Nutshell