Yes, but it makes no sense at all to try and open files in a Helper
method. And if someone really, really wants to do that, they can
explicitly use File.open or Kernel.open.
- Nathan
Jeffrey Hardy wrote:
> On 23-Mar-07, at 4:11 AM, Nathan Weizenbaum wrote:
>
>> In the Haml trunk, however, there's a helper method, called "open",
>> that
>> allows you to create HTML elements in a more elegant way.
>>
>
> Hrm.. open is already defined on Kernel.
>
> > Kernel.methods.include?('open')
> => true
>
> Wouldn't this clobber it?
>
> /Jeff
>
> >
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Haml" 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/haml?hl=en
-~----------~----~----~----~------~----~------~--~---