learning ruby

I think i've got it figured out now.