Hi all, Is there any difference between “block_given?” vs “defined? yield” ? I dug through the source a bit, but I had trouble finding the definition. Is the former just a wrapper for the latter? Thanks, Dan PS - Found the latter in open3.rb Hi, In message “Re: block_given? vs defined? yield” on Thu, 9 Feb 2006 01:42:30 +0900, Daniel B. [email protected] writes: |Is there any difference between “b
![Block_given? vs defined? yield](https://cdn-ak-scissors.b.st-hatena.com/image/square/7e713d87868cfe4de85dd9761761c116d8094ba2/height=288;version=1;width=512/https%3A%2F%2Fwww.ruby-forum.com%2Fuploads%2Fdefault%2Foriginal%2F1X%2F8a5e8e853d54c2948e021a2e1c15b7bc1b378978.png)