How about defining: module Kernel def rand(max=0) ... Instead of current: module Kernel def rand(max) ... It's too late for a patch though :). - Aleksi