« Return to Thread: RHTML comments

Re: RHTML comments

by James Moore-7 :: Rate this Message:

Reply to Author | View in Thread

Given:

<%
a = :snark
b = 2
%>

I'd expect the result to be:

<%
# a = :snark
# b = 2
%>

For a one-liner (or N consecutive one-liners), it'd be what's been
mentioned before:

<% a = :snark %>
<% b = 2 %>

<%# a = :snark %>
<%# b = 2 %>

The if-false block seems like a different operation than "comment this region."

 - James Moore

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


 « Return to Thread: RHTML comments

LightInTheBox - Buy quality products at wholesale price!