module Kernel alias :old_puts :puts def puts(what) old_puts "new behaviour of puts" old_puts what end end