ex10.rb learn ruby the hard way