+1 for teaching Hash to respond to "toTemplateReplacements," because I find this to be more self-documenting.
On 10/17/07, Mislav Marohnić <[EMAIL PROTECTED]> wrote: > > On 10/17/07, G Jones <[EMAIL PROTECTED]> wrote: > > > > > > Looking at the code for Template, it looks like it might be as simple > > as giving Hash a 'toTemplateElements()' method that returns > > 'this.toObject()' > > > http://dev.rubyonrails.org/ticket/9903 > > I'm torn between teaching Hash to respond to "toTemplateElements" or > teaching Template to try "toObject" after "toTemplateElements" is > unavailable. What do you guys think? > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype: Core" group. To post to this group, send email to prototype-core@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/prototype-core?hl=en -~----------~----~----~----~------~----~------~--~---