(12/11/09 1:53), marcandre (Marc-Andre Lafortune) wrote:
> ko1 (Koichi Sasada) wrote:
>>  If compiled method does not contain
>>   - `yield' statement
>>   - super statement
>>   - block argument
>>  then the method is marked as "block is not needed" method.
> 
> There is also `Proc.new`...

Also proc, lambda, and defined?(yield).

-- 
Nobu Nakada