« Return to Thread: RHTML comments

Re: RHTML comments

by hemant-6 :: Rate this Message:

Reply to Author | View in Thread

On 8/3/07, Dudley Flanders <dudley@...> wrote:

>
> On Aug 2, 2007, at 2:58 PM, Tor Norbye wrote:
> > I'm thinking of using <%# and %> around each line. There are some
> > other alternatives, like inserting <% if false %>, <% end %> around
> > the block of code, but this has some disadvantages - you don't get
> > syntax highlighting feedback that the code is commented out (since
> > it's "execution"-based commenting) - and it works differently than
> > the "per-line-commenting" that is used for this in the IDE.
>
> <%# %> is the standard rhtml comment. Unless there's a really good
> reason not to, I'd use that.
>
> :dudley


Yes I would second that....

--
Let them talk of their oriental summer climes of everlasting
conservatories; give me the privilege of making my own summer with my
own coals.

http://blog.gnufied.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...


 « Return to Thread: RHTML comments