Updated Ruby Tutorial

Friday, August 17th, 2007

I’ve just updated my Ruby tutorial with a ton of new content. Some of the added sections include:

  • A regular expression (regex) reference
  • An explanation of the rather confusing rules behind block scope
  • An example on the use of the Ruby case statement (similar to the C switch statement)
  • How to write your own attr_accessor method (and understand class_eval in the process)
  • Several new core functions and methods

I don’t know if anyone else is finding my reference helpful, but it has definitely aided me in understanding the intricacies of Ruby.

No Responses

Comments are closed.