From: "Hal E. Fulton" Date: 2001-05-03T12:21:07+09:00 Subject: [ruby-talk:14574] Re: why doesn't do/end work for sort block? ----- Original Message ----- From: John Kaurin To: ruby-talk ML ; Sent: Wednesday, May 02, 2001 8:10 PM Subject: [ruby-talk:14572] Re: why doesn't do/end work for sort block? > Somewhere in the pickaxe book (I cannot find it now) it stated > that do ... end on a single line was illegal, unsupported, or some > such thing. Maybe the block is just ignored due to this? Hmmm, I'm sure you've misunderstood something. This is both legal and supported. What you may have read is that many people (Dave included, I think) tend to put braces on a single line and reserve do-end for multiple lines. But this convention is mostly cosmetic. Hal