From: "Iñaki Baz Castillo" Date: 2012-04-19T02:16:13+09:00 Subject: Re: C extension: How to get a block passed to a method? 2012/4/18 Ammar Ali : > 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. Thanks a lot! -- Iñaki Baz Castillo