From: Sebastian Hungerecker Date: 2008-02-29T00:33:39+09:00 Subject: Re: proc.new and return Arlen Cuss wrote: > Remember that Array#map itself is supposed to return a value (the array > with values mapped!). So, blocks can't really return anything - it makes no > sense. Blocks return the value of the last expression in them (or, if you break from the block, they return the value given to break, the same way return works for methods). What the yielding method does with that return value depends, as you say, on the method, but you can't say that blocks don't return anything. HTH, Sebastian -- Jabber: sepp2k@jabber.org ICQ: 205544826