From: Lolz Llolz Date: 2007-08-02T02:05:15+09:00 Subject: Re: Variable-Length arg list and blocks Stefano Crocco wrote: > Alle mercoled狸 1 agosto 2007, Lolz Llolz ha scritto: >> Of course I know, that according to the definition both modifiers have >> to be used with the last parameter. >> >> >> >> Turing. > > You need to puts the arguments in the opposite order: > > def test(*args, &blk) > end > > Stefano Your reply was very fast :-) Thank you! Turing -- Posted via http://www.ruby-forum.com/.