Sams Teach Yourself Ruby in 21 Days

Front Cover
Sams Publishing, 2002 - Computers - 537 pages

Ruby is a high-level, fully object-oriented programming (OOP) language. It is very powerful and relatively easy to learn, read, and maintain.

Sams Teach Yourself Ruby in 21 Days provides the best introduction to this language and addresses one of the key constraints it faces: "The paucity of quality English-language documentation is one of the few things holding Ruby back from widespread adoption," according to Dr. Curtis Clifton of Iowa State University¿s Department of Graduate Computer Science.

From inside the book

Contents

Getting Started with Ruby
v
Hello Objects
3
Containers
27
Iteration and Flow Control
45
The Characteristics of Objects
69
Ins and Outs
89
Catching Up on Details
113
Pattern Matching
139
Arguments Blocks and Procs
265
Toward Habitable Interfaces
289
Putting It Together Part I
313
RubyTk
331
RubyGtk
365
Some Advanced Topics That Arent So Hard
403
Working with the Web
425
Putting It Together Part II
451

Inheritance and Modules
161
Program File Layout Program Design and the General Case
179
Modules and Classes in Depth
199
An Introduction to Recursion
223
Mastering the Operating System
241
irb Results
477
Installation Help
479
Debugging With and Without a Debugger
485
Essential Vocabulary
493
Copyright

Common terms and phrases

About the author (2002)

Mark Slagell, MS, CS has taught programming languages at the university level where he designed and wrote his own course materials. He edits and maintains one of the first English language Ruby tutorials on the Web and has used Ruby to meet the programming requirements of numerous projects in a mixed Unix/Windows environment.

Bibliographic information