From: David Trasbo Date: 2008-10-16T21:06:04+09:00 Subject: Re: A Ruby block question David A. Black wrote: >>> m << yield f >> >> Yes, that was also my first idea, but that is giving me this syntax >> error: >> >> syntax error, unexpected tIDENTIFIER, expecting kEND > > Put f in parens: > > m << yield(f) That's also a possibility. But it seems to be a little more complicated as mentioned. can't convert nil into String -- Posted via http://www.ruby-forum.com/.