If you've stumbled into Ruby via configuration management tools like (Chef and Puppet), you via Ruby on Rails, or whatever... do yourself a favor and learn the basis in less than an hour.  I spent almost a month flailing with Ruby convinced I didn't need a 101 class.  I was wrong.  Watch this - Ruby Programming