From: Nobuyoshi Nakada Date: 2012-11-11T14:14:50+09:00 Subject: [ruby-core:49209] Re: [ruby-trunk - Feature #7299] Ruby should not completely ignore blocks. (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