From: Tobias Peters Date: 2002-09-05T00:24:38+09:00 Subject: Re: option remember > def remember(func) > p method(func).call(5) #it's work > newfunc = Proc.new { |n| > $arg[n]=method(func).call(n) if $arg[n]==nil > return $arg[n] > } > return newfunc > end return in a block returns from the function containing the block. The return value of a block call is the value of the last statement. Just erase the word "return" from your block. Tobias