ruby.rb : just figuring out how to do some basic things in ruby (and some tricky things, too)