SKIP THE SHIPPING
Use code NOSHIP during checkout to save 40% on eligible eBooks, now through January 5. Shop now.
Register your product to gain access to bonus material or receive a coupon.
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:
Note: The appendices offer instruction on migrating from Perl and Python to Ruby, and extending Ruby in C and C++.
Source code for the examples developed in the book for the Windows platform - 105 kb -- trw-src.zip
Source code for the examples developed in the book for Linux/UNIX platforms - 56 kb -- trw-src.tar.gz
Manipulating Structured Data in Ruby
Introduction.
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.
Strings. Regular Expressions. Numbers. Times and Dates. Summary.
Working with Arrays. Working with Hashes. Working with Stacks and Queues. Working with Trees. Working with Graphs. Summary.
Working with Files and Directories. Performing Higher-Level Data Access. Connecting to External Databases. Summary.
Everyday OOP Tasks. More Advanced Techniques. Working in Advanced Programming Disciplines. Summary.
Ruby/Tk. Ruby/GTK. FX/Ruby (FOX). Other GUIs. Summary.
Creating and Manipulating Threads. Synchronizing Threads. Summary.
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.
Network Servers. Network Clients. Ruby and the Web Server. Ruby and CGI Programming. Distributed Ruby. XML Parsing in Ruby. Summary.
Note: You will need the Free Adobe Acrobat Reader to view the file(s) for the book. If you do not already have Acrobat installed on your machine, click the "Get Acrobat Reader" button to download and install.
Click on the links below to display the PDF file in a new window. Right-click on the link and select Save As if you want to download it to your hard drive.
0672320835errata.pdf (46 KB)