http://www.ruby-doc.org/core/classes/Hash.html#M002872
Cheers,
Mohit.
2/6/2008 | 2:29 PM.
Ratnavel Sundaramurthi wrote:> Hi,
>
> I have a hash VALUE_OPTIONS = {:true=>1,:false=>0}
> How to convert this to a Array like options= [[true,1],[false,0]]
>
> Thanks
> Ratnavel
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---