Ruby 1.9.3 リファレンスマニュアル > 関数一覧 > rb_block_given_p

function rb_block_given_p

int rb_block_given_p(void)

メソッドがブロック付きで呼ばれていれば Qtrue を返します。