Sapna Grover wrote:
> I need a data structure to store key/value pair.

Then use Object. Someone is confused here... If you need key value pairs then
use Object. If you just need a list of values use Array. You mentioned you
needed push/pop. Why? How do you push/pop off a named value?

-- 
Michael Peters
Developer
Plus Three, LP


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

Reply via email to