From: Sebastian Hungerecker Date: 2008-06-26T01:08:55+09:00 Subject: Re: Question on passing blocks Ruby Freak wrote: > def thrice >     yield >     yield >     yield > end > [...] > # broken from here down > > thrice  { |x| x += 1 } You're passing a block that takes one argument (x) to a method that yields none. Also: it's usually not a good idea, to reassign a block argument. That almost certainly does not do what you want. HTH, Sebastian -- Jabber: sepp2k@jabber.org ICQ: 205544826