arith in Ruby (partial)