From: Doug H Date: 2006-02-04T06:18:18+09:00 Subject: Re: Indentation vs. "end"s Thomas Kirchner wrote: > * On Feb 4 4:28, Doug H (ruby-talk@ruby-lang.org) wrote: > > > (0..10).each do |i| > > > # Do something with i > > > end what? > > > > end do > > My first reaction was "end each"... After all, "do" and "end" are just > the keywords. "end " should refer to the actual construct > you're ending, not just a keyword. You're ending a closure block, which starts with "do".