From: Ammar Ali Date: 2012-04-19T02:10:52+09:00 Subject: Re: C extension: How to get a block passed to a method? On Wed, Apr 18, 2012 at 7:34 PM, IƱaki Baz Castillo wrote: > So how can I get the block given to a method in C code? If rb_block_given_p returns true you can use rb_block_proc to get the VALUE for the proc. HTH, Ammar