Ruby in a Nutshell: A Desktop Quick Reference

Ruby in a Nutshell: A Desktop Quick Reference

by Yukihiro Matsumoto
Ruby in a Nutshell: A Desktop Quick Reference

Ruby in a Nutshell: A Desktop Quick Reference

by Yukihiro Matsumoto

eBook

$14.99  $19.99 Save 25% Current price is $14.99, Original price is $19.99. You Save 25%.

Available on Compatible NOOK devices, the free NOOK App and in My Digital Library.
WANT A NOOK?  Explore Now

Related collections and offers


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.


Product Details

ISBN-13: 9781449378806
Publisher: O'Reilly Media, Incorporated
Publication date: 11/13/2001
Series: In a Nutshell (O'Reilly)
Sold by: Barnes & Noble
Format: eBook
Pages: 222
File size: 2 MB

About the Author

Yukihiro Matsumoto ("Matz") is the creator of Ruby. He is a professional programmer who has worked for netlab.co.jp, a Japanese open source company and has been developing Ruby since 1993. Matz has 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.

Table of Contents

Prefaceix
Chapter 1Introduction1
Ruby's Elegance1
Ruby in Action3
Chapter 2Language Basics5
Command-Line Options5
Environment Variables7
Lexical Conventions8
Literals9
Variables15
Operators17
Methods20
Control Structures25
Object-Oriented Programming29
Security33
Chapter 3Built-in Library Reference36
Predefined Variables36
Predefined Global Constants38
Built-in Functions39
Built-in Library47
Chapter 4Standard Library Reference110
Standard Library110
Chapter 5Ruby Tools166
Standard Tools166
Additional Tools173
Ruby Application Archive174
Chapter 6Ruby Updates176
Summary of Changes176
The Future of Ruby178
Participate in Ruby179
Index181
From the B&N Reads Blog

Customer Reviews