From: Ian Macdonald Date: 2002-04-25T03:00:33+09:00 Subject: choice between &block or yield Hi, Is there any reason to prefer: def each(&block) self.members.each(&block) end over: def each self.members.each {|x| yield x} end ? I'm wondering if these two approaches are always synonymous and whether there are any reasons to prefer one form over the other. Ian -- Ian Macdonald | The faster I go, the behinder I get. -- ian@caliban.org | Lewis Carroll | | |