[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: block comment problem

Yukihiro Matsumoto

12/22/2008 1:13:00 AM

Hi,

In message "Re: block comment problem"
on Sat, 20 Dec 2008 19:35:44 +0900, Dave Bass <davebass@musician.org> writes:

|Matz wrote:
|> "=begin" should start at the beginning of a line. You cannot indent
|> them.
|
|Any good reason for this?

They're not part of regular syntax, so I want clearly mark as such.
Besides that, they were designed to be used for embedded documents a la
Perl at the very early stage of Ruby development, when we didn't have
RDoc yet. I'd rather recommend to put # signs at the top of lines.

matz.