Programming Ruby



Ruby is an increasingly popular, fully object-oriented dynamic programming language. This book gives a complete description, comprising:

  • a tutorial on using Ruby
  • a reference to the language
  • documentation on all built-in classes, modules, and methods
  • descriptions of all 98 standard libraries


Dave Thomas, with Chad Fowler and Andy Hunt
Programming Ruby
Pragmatic Bookshelf; 2nd edition (October 1, 2004)
ISBN: 0974514055

Table of contents

  • Part I Facets of Ruby
    • 1 Getting started
    • 2 Ruby.new
    • 3 Classes, objects, and variables
    • 4 Containers, blocks, and iterators
    • 5 Standard types
    • 6 More about methods
    • 7 Expressions
    • 8 Exceptions, catch, and throw
    • 9 Modules
    • 10 Basic input and output
    • 11 Threads and processes
    • 12 Unit testing
    • 13 When trouble strikes
  • Part II Ruby in its setting
    • 14 Ruby and its world
    • 15 Interactive Ruby shell
    • 16 Documenting Ruby
    • 17 Package management with RubyGems
    • 18 Ruby and the web
    • 19 Ruby Tk
    • 20 Ruby and Microsoft Windows
    • 21 Extending Ruby
  • Part III Ruby crystallized
    • 22 The Ruby language
    • 23 Duck typing
    • 24 Classes and objects
    • 25 Locking Ruby in the safe
    • 26 Reflection, ObjectSpace, and distributed Ruby
  • Part IV Ruby library reference
    • 27 Built-in classes and modules
  • Part V Appendixes
    • A Socket library
    • B MKMF reference
    • C Support
    • D Bibliography

Leave a Reply