From: koboi Date: 2005-02-11T07:45:02+09:00 Subject: Re: redefine Kernel method It moves in the right direction, yes, thanks. But still, it doesn't work as I would like. If I want to count, how many times the method is called, the Proc is evaluated only once, so the count is always 1. Example: @count = 0 m = proc { @count += 1; 5 } #... #call rand several times p @count -> 1 Any suggestions. thanks, daniel