Ruby in a Nutshell: A Desktop Quick Reference

Overview

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

See more details below
Paperback (First Edition)
$20.60
BN.com price
(Save 17%)$24.95 List Price

Pick Up In Store

Reserve and pick up in 60 minutes at your local store

Other sellers (Paperback)
  • All (35) from $1.99   
  • New (11) from $8.51   
  • Used (24) from $1.99   
Ruby in a Nutshell

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK 7.0
  • Samsung Galaxy Tab 4 NOOK 10.1
  • NOOK HD Tablet
  • NOOK HD+ Tablet
  • NOOK eReaders
  • 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)
$11.49
BN.com price
(Save 42%)$19.99 List Price

Overview

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.

Portable and convenient, "Ruby Essentials" is a concise reference to the features of Ruby's command-line options, syntax, built-in variables, functions and other commonly used classes. Additional code, discussion and examples are included.

Read More Show Less

Editorial Reviews

From Barnes & Noble
The Barnes & Noble Review
Another programming language? Why? Well, Ruby is powerful, expressive, simple, elegant, intuitive, consistent, flexible, cross-platform, and free. OK, some or all of those adjectives fit other languages, too. But Ruby programmers swear, above all, that Ruby is fun. It doesn't get in your way. Programs work the way you expect. There are fewer bugs. When you reread your code later, you actually understand it. Wow.

Ruby comes to us from Japan, and one of its few disadvantages has been a dearth of English-language documentation. Now Yukihiro Matsumoto, the language's creator, working with translator David L. Reynolds, has delivered the authoritative quick reference developers have been waiting for.

Ruby in a Nutshell is concise: barely 200 pages. But it covers all of the language's syntax, predefined variables and global constants, built-in functions and library, and standard bundled libraries for networking, web/email support, and database management. It addresses both the current version (1.65) and key enhancements planned for version 1.8. It also briefly introduces the Ruby debugger and related development tools.

Once you start working with Ruby, you'll keep finding more excuses to use it -- and more opportunities to wear out your copy of Ruby in a Nutshell. (Bill Camarda)

Bill Camarda is a consultant, writer, and web/multimedia content developer with nearly 20 years' experience in helping technology companies deploy and market advanced software, computing, and networking products and services. He served for nearly ten years as vice president of a New Jersey–based marketing company, where he supervised a wide range of graphics and web design projects. His 15 books include Special Edition Using Word 2000 and Upgrading & Fixing Networks For Dummies®, Second Edition.

Read More Show Less

Product Details

  • ISBN-13: 9780596002145
  • Publisher: O'Reilly Media, Incorporated
  • Publication date: 11/1/2001
  • Series: In a Nutshell (O'Reilly) Series
  • Edition description: First Edition
  • Edition number: 1
  • Pages: 222
  • Sales rank: 1,502,391
  • Product dimensions: 6.00 (w) x 9.00 (h) x 0.55 (d)

Meet the Author

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.

Read More Show Less

Table of Contents

Foreword;
Preface;
How This Book Is Organized;
Conventions Used in This Book;
Comments and Questions;
Acknowledgments;
Chapter 1: Introduction;
1.1 Ruby's Elegance;
1.2 Ruby in Action;
Chapter 2: Language Basics;
2.1 Command-Line Options;
2.2 Environment Variables;
2.3 Lexical Conventions;
2.4 Literals;
2.5 Variables;
2.6 Operators;
2.7 Methods;
2.8 Control Structures;
2.9 Object-Oriented Programming;
2.10 Security;
Chapter 3: Built-in Library Reference;
3.1 Predefined Variables;
3.2 Predefined Global Constants;
3.3 Built-in Functions;
3.4 Built-in Library;
Chapter 4: Standard Library Reference;
4.1 Standard Library;
Chapter 5: Ruby Tools;
5.1 Standard Tools;
5.2 Additional Tools;
5.3 Ruby Application Archive;
Chapter 6: Ruby Updates;
6.1 Summary of Changes;
6.2 Changes from 1.6.5 to 1.7.1;
6.3 The Future of Ruby;
6.4 Participate in Ruby;
Colophon;

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

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

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