-
Chapter 1 Introduction
-
Ruby's Elegance
-
Ruby in Action
-
-
Chapter 2 Language Basics
-
Command-Line Options
-
Environment Variables
-
Lexical Conventions
-
Literals
-
Variables
-
Operators
-
Methods
-
Control Structures
-
Object-Oriented Programming
-
Security
-
-
Chapter 3 Built-in Library Reference
-
Predefined Variables
-
Predefined Global Constants
-
Built-in Functions
-
Built-in Library
-
-
Chapter 4 Standard Library Reference
-
Standard Library
-
-
Chapter 5 Ruby Tools
-
Standard Tools
-
Additional Tools
-
Ruby Application Archive
-
-
Chapter 6 Ruby Updates
-
Summary of Changes
-
Changes from 1.6.5 to 1.7.1
-
The Future of Ruby
-
Participate in Ruby
-
-
Colophon
- Title:
- Ruby in a Nutshell
- By:
- Yukihiro Matsumoto
- Publisher:
- O'Reilly Media
- Formats:
-
- 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
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.
