Sorry for delay, I had to made a bit research, because I'm not very
good with prototype.
Thank you to all for your great help.
Finally I used this
element.ancestors().pluck("nodeName").invoke("toLowerCase").reverse().join("
");
It amazing like works!!!, the last question is why not invoke can be
used in reverse and join?
Thanks again, to Nicolás, Justin, Gareth and all really very good
library and the best comunity!!!.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" 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/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---