The syntax of Ruby has been fairly stable since Ruby 1.0, but new features are added every now and then. So, the books and the online documentation can get behind.
If you have a problem, feel free to ask in the mailing list (see ruby-talk mailing list). Generally you’ll get timely answers from matz himself, the author of the language, from other gurus, and from those who’ve solved problems similar to your own.
Please include the output of ruby -v
along with any problematic source code.
If you have a problem using irb
, be aware that it has some limitations. Try the script using irb --single-irb
, or directly using the ruby
command.
There might be similar questions in the mailing list, and it is good netiquette to read through recent mails (RFC1855:3.1.1, 3.1.2) before asking. But do ask on the list, and a correct answer will be forthcoming.
Leave a Reply