On Apr 25, 12:55 am, floyd <[EMAIL PROTECTED]> wrote: > Hi, > > I can't seem to find an easy way to compare two arrays (or hashes)
I've often seen people (incorrectly in my opinion) call javascript objects "hashes" because they have name/value pairs, but to call an Array a hash is going a bit far. > when using prototype--I had to write a disturbingly long function to > do it correctly... Am I missing something? If not, is this something > that others would be a welcome addition to the library? What do you mean by "compare" and "correctly"? How can anyone comment on your design without any details or the implementation without the code? Make sure the code is nicely formatted and commented, then post it. You may get helpful hints - or not. -- Rob --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
