Home > Store

Ruby Way, Adobe Reader, The

Register your product to gain access to bonus material or receive a coupon.

Ruby Way, Adobe Reader, The

eBook (Adobe DRM)

  • Sorry, this book is no longer in print.
  • About Adobe DRM eBooks
  • This eBook requires the free Adobe® Digital Editions software.

    Before downloading this DRM-encrypted PDF, be sure to:

    • Install the free Adobe Digital Editions software on your machine. Adobe Digital Editions only works on Macintosh and Windows, and requires the Adobe Flash Player. Please see the official system requirements.
    • Authorize your copy of Adobe Digital Editions using your Adobe ID (select AdobeID as the eBook vendor). If you don't already have an Adobe ID, you can create one here.
Not for Sale


  • Copyright 2002
  • Dimensions: 7-3/8" x 9-1/8"
  • Edition: 1st
  • eBook (Adobe DRM)
  • ISBN-10: 0-7686-5878-0
  • ISBN-13: 978-0-7686-5878-1

The Ruby Way assumes that the reader is already familiar with the subject matter. Using many code samples it focuses on "how-to use Ruby" for specific applications, either as a stand-alone language, or in conjunction with other languages.

Topics covered include:

  • Simple data tasks;
  • Manipulating structured data;
  • External data manipulation;
  • User interfaces;
  • Handling threads;
  • System programming;
  • Network and web programming;
  • Tools and utilities.

Note: The appendices offer instruction on migrating from Perl and Python to Ruby, and extending Ruby in C and C++.

Sample Content

Table of Contents


1. Ruby in Review.

Some Words on Object Orientation. Basic Ruby Syntax and Semantics. OOP in Ruby. Dynamic Aspects of Ruby. Training Your Intuition: Things to Remember.

2. Simple Data Tasks.

Strings. Regular Expressions. Numbers. Times and Dates. Summary.

3. Manipulating Structured Data.

Working with Arrays. Working with Hashes. Working with Stacks and Queues. Working with Trees. Working with Graphs. Summary.

4. External Data Manipulation.

Working with Files and Directories. Performing Higher-Level Data Access. Connecting to External Databases. Summary.

5. OOP and Dynamicity in Ruby.

Everyday OOP Tasks. More Advanced Techniques. Working in Advanced Programming Disciplines. Summary.

6. Graphical Interfaces for Ruby.

Ruby/Tk. Ruby/GTK. FX/Ruby (FOX). Other GUIs. Summary.

7. Ruby Threads.

Creating and Manipulating Threads. Synchronizing Threads. Summary.

8. Scripting and System Administration.

Running External Programs. Command-Line Options and Arguments. The Shell Library. Accessing Environment Variables. Scripting in Microsoft Windows. Working with Files, Directories, and Trees. Miscellaneous Scripting Tasks. Summary.

9. Network and Web Programming.

Network Servers. Network Clients. Ruby and the Web Server. Ruby and CGI Programming. Distributed Ruby. XML Parsing in Ruby. Summary.

Appendix A. From Perl to Ruby.

Appendix B. From Python to Ruby.

Appendix C. Tools and Utilities.

Appendix D. Resources on the Web (and Elsewhere).

Appendix E. What's New in Ruby 1.8.



Submit Errata

More Information

Unlimited one-month access with your purchase
Free Safari Membership