Released version 0.0.6 where i'm using yield instead of block.call.
Hopefully it makes it more clear that block needs to be used :)

Jarmo

On Aug 7, 3:01   벮
> > Too bad that Ruby won't throw error or show warning if named
> > block variables are used but no block given... for me it's like x
> > parameters are needed, but x-1 parameters given and there's no default
> > value for block so error should be shown like it is done with other
> > cases where more or less parameters are given to the method than
> > expected.
>
> Yeah the only way I know of to force their use it so either use yield
> (which will throw a LocalJumpError: no block given), or to raise like
>
> raise LocalJumpError.new unless block
> or
> raise LocalJumpError.new unless block_given? (handle the implicit case)
>
> I wonder if there's some other way, as well, that I don't know about.
> --
> Posted viahttp://www.ruby-forum.com/.