What about if you use "p" instead of the symbol :p
?

On Oct 8, 2007, at 6:00 PM, Nathan Weizenbaum wrote:

>
> Does it break without the super? Without the open :p?
>
> - Nathan
>
> pimpmaster wrote:
>> The culprit is here.. I have simplified a bit and this still breaks
>> with the same errors
>>
>> def self.create_tagged_field(method_name)
>>   define_method(method_name) do |label, *args|
>>     open :p do
>>       super
>>     end
>>   end
>> end
>>
>>
>>>
>>
>>
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to