From: koboi Date: 2005-02-10T05:35:05+09:00 Subject: redefine Kernel method I would like to redefine the method Kernel#rand inside a test method, and reset it in the end again. But everything I try fails. If I redefine it outside my module and class, it works. But I would like to do it inside my test method. Thx for any hint. Daniel