Ruby User’s Guide

Author: Yukihiro ‘Matz’ Matsumoto (Japanese language version)
Translated by: Goto Kentaro, Julian Fondren, and Mark Slagell
Converted to Pandora by: Alex Combas and Julian I. Kamil
Original text: http://www.ruby-doc.org/docs/UsersGuide/rg/

  Abstract

Ruby is “an easy object oriented language”. It may seem a little strange at first, but it is designed to be easily read and written. This User’s Guide will get you started at invoking and using Ruby, and give you insights into Ruby’s nature that you may not get from the reference manual.

Contents

  1. What is Ruby?
  2. Getting started
  3. Simple examples
  4. Strings
  5. Regular expressions
  6. Arrays
  7. Back to the simple examples
  8. Control structures
  9. Iterators
  10. Object-oriented thinking
  11. Methods
  12. Classes
  13. Inheritance
  14. Redefinition of methods
  15. Access control
  16. Singleton methods
  17. Modules
  18. Procedure objects
  19. Variables
  20. Global variables
  21. Instance variables
  22. Local variables
  23. Class constants
  24. Exception processing: rescue
  25. Exception processing: ensure
  26. Accessors
  27. Object initialization
  28. Nuts and bolts