In ruby, # pretty much always means a comment.

Julian.

On 17/12/2008, at 8:03 PM, Jon Hancock wrote:

>
> ;-)
> do you know how hard that is to find on google?
> thanks man, my brain wasn't jumping to that pretty obvious
> interpretation of #.
> Jon
>
> On Dec 17, 4:49 pm, "Yehuda Katz" <[email protected]> wrote:
>> <%# is a comment. Replace the # with = to uncomment!
>> -- Yehuda
>>
>> On Wed, Dec 17, 2008 at 12:44 AM, Jon Hancock  
>> <[email protected]> wrote:
>>
>>> I notice in a newly gen'ed merb app's layout looks like this:
>>
>>> <%#= message[:notice] %>
>>
>>> I had been using:
>>
>>> <%= message[:notice] %>
>>
>>> and cannot find what the # does for erb.
>>
>>> thanks, Jon
>>
>> --
>> Yehuda Katz
>> Developer | Engine Yard
>> (ph) 718.877.1325
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to