Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #3396

Recursive to check same key in has

From Siratinee Sukachai <ploy.sukachai@gmail.com>
Newsgroups comp.lang.ruby
Subject Recursive to check same key in has
Date 2011-04-23 06:43 -0500
Organization Service de news de lacave.net
Message-ID <368cef391ff38f27093984a8ae8f8375@ruby-forum.com> (permalink)

Show all headers | View raw


h1 = {project=>{opp=>{Index=>{title=>Opportunities}}}}
h2 = {project=>{opp=>{Index=>{link=>Report}}}}

I need to check same key in hash and group the value to assign to the
same key of hash. How to do that?

-- 
Posted via http://www.ruby-forum.com/.

Back to comp.lang.ruby | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Recursive to check same key in has Siratinee Sukachai <ploy.sukachai@gmail.com> - 2011-04-23 06:43 -0500
  Re: Recursive to check same key in has Brian Candler <b.candler@pobox.com> - 2011-04-23 07:20 -0500

csiph-web