From: Piergiuliano Bossi Date: 2004-03-05T21:19:42+09:00 Subject: Re: Ruby won, of course Robert Klemme wrote: > def combine_results(*tests) > tests.all? > end > > And: > > you still don't need combine_results(): > > def test_aritmetic > [ test_plus, test_multiply ].all? > end > > :-)) GOSH!! I didn't know anything about all? method!! Of course it is described in [1], but not in [2] or [3] (my primary sources). I guess this could be a good reason to build ri, even if I'm on Win. Thank you very VERY much! :) Giuliano [1] http://www.whytheluckystiff.net/articles/2003/08/04/rubyOneEightOh [2] http://phrogz.net/ProgrammingRuby/ [3] http://www.eng.cse.dmu.ac.uk/~hgs/ruby/RUBY_SNAPSHOT_RDOC/index.html -- If you want to send me an email in the address you have to write 'p', then a dot, followed by 'bossi' at 'quinary', another dot and 'com' at last