From: "Peña, Botp" Date: 2004-10-08T19:57:09+09:00 Subject: Re: quality of error messages Randy W. Sims [mailto:ml-ruby@thepierianspring.org] wrote: > Like another poster, I'm in the habit of writing the close marker > immediately after the open marker. However, one style guide I > sometimes > follow is that if a block exceeds one "page" or if I have some deeply > nested code, I will comment the end(s): > > class Foo > def bar > puts 'bar' > end#bar > end # class Foo compare: class Foo def bar puts 'bar' if foo endif enddef endclass I'm only suggesting this as an option to ruby -c like ruby -c -check_extended_end still we make endclass/enddef/endif synonyms to end, thus programmer is free to use them or not. and w regards to indents ruby -c -check_indent Again, programmer is free to use indents (as syntax check) or not. kind regards -botp