Publisher: O'Reilly Media Released: November 2001 Pages: 222
Ruby is an absolutely pure object-oriented scripting language written in C and designed with Perl and Python capabilities in mind. While its roots are in Japan, Ruby is slowly but surely gaining ground in the US. The goal of Yukihiro Matsumoto, creator of Ruby and author of this book, is to incorporate the strengths of languages like Perl, Python, Lisp and Smalltalk. Ruby is a genuine attempt to combine the best of everything in the scripting world. Since 1993, Ruby mailing lists have been established, Web pages have formed, and a community has grown around it. The language itself is very good at text processing and is notable for its broad object orientation. Ruby is portable and runs under GNU/Linux (and other Unices) as well as DOS, MS Windows and Mac. With Ruby in a Nutshell, Matsumoto offers a practical reference to the features of this new language including the command-line options, syntax, built-in variables, functions, and many commonly used classes and modules. This guide covers the current stable version of Ruby (1.6), yet is applicable to the development version 1.7 and the next planned stable version 1.8. You will find a thorough description of Ruby's language syntax, and a description of the core functionality built into the standard Ruby interpreter, which has more than 800 built-in methods in 42 classes and modules. Ruby finds its power through its built-in libraries, and this handy volume take you through the many useful libraries that come with the standard Ruby distribution--from network access via HTTP and CGI programming, to data persistence using the DBM library. This book concludes with coverage of the unique tools that come with Ruby, including the debugger, profiler, and irb (or interactive ruby.) Find out how Ruby combines the strengths of other languages, and why it has captured the interest of so many open source programmers. 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. |
-
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:
-
- Print
- Ebook
- Safari Books Online
- Print:
- November 2001
- Ebook:
- June 2009
- Pages:
- 222
- 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
|
-
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. |
|
Description
|
Table of Contents
|
Product Details
|
About the Author
|
Colophon
|
 |
|
 |
|
|
|
Recommended for You
|
Recently Viewed
|
 |
|
By Daniel P. Bovet, Marco Cesati
December 2002
By Kyle D. Dent
December 2003
Ebook: $31.99
Print & Ebook: $43.99
Print: $39.99
By Randy J. Ray, Pavel Kulchenko
December 2002
Ebook: $39.99
Print & Ebook: $54.99
Print: $49.99
|
Customer Reviews
4/22/2003 (0 of 3 customers found this review helpful) 1.0Ruby in a Nutshell Review By Paul R. Potts from Undisclosed 4/22/2003 (13 of 13 customers found this review helpful) 1.0Ruby in a Nutshell Review By Paul R. Potts from Undisclosed 2/25/2003 (1 of 1 customers found this review helpful) 3.0Ruby in a Nutshell Review By Kenneth Wilcox from Undisclosed 12/1/2002 4.0Ruby in a Nutshell Review By Björn Breitgoff from Undisclosed 12/17/2001 1.0Ruby in a Nutshell Review By Wayne Conrad from Undisclosed 12/11/2001 4.0Ruby in a Nutshell Review By Walid Shaari from Undisclosed
|
|
|