Hi All
Is there who knows to define multi line comment? ( in Java we can define by
/* and */ )
Best Regards
Kushan Jayathilake
Hi All
Is there who knows to define multi line comment? ( in Java we can define by
/* and */ )
Best Regards
Kushan Jayathilake
you mean in Ruby? like this
=begin blablabla bablablabl abklabla =end
Hello Thorsten L
Yes,I want to know how to define a multiline comment in rails,
In Java we can define it like this
/*
Comment line 1
Comment line 2
Comment line 3
*/
Anything between /* and */ will be commented
So is there anyway that I can do this in rails
Hi Kushan
Thorsten did answer your question. I've changed it to look similar to your request.
=begin Comment line 1 Comment line 2 Comment line 3 =end
Hmm, I wonder if Thorsten's reply looked too much like English and got
ignored?
Cheers Mohit.
Kushan Jayathilake wrote:
=begin blablabla bablablabl abklabla =end
just keep in mind that kind of comments are reserved for ruby doc, so best practices would tell not to use them unless for that purpose.. which leaves us without a general purpose multi line comment in ruby (AFAIK)
regards,
javier ramirez