Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.ruby > #3388
| From | Siratinee Sukachai <ploy.sukachai@gmail.com> |
|---|---|
| Newsgroups | comp.lang.ruby |
| Subject | Can I check the a hash contain another hash in deep check? |
| Date | 2011-04-22 13:52 -0500 |
| Organization | Service de news de lacave.net |
| Message-ID | <8fbd65fb29171a781300613cbda0168f@ruby-forum.com> (permalink) |
h = {'Member'=>{'number'=>{'name'=>'Name'}}}
Can I check from the key which the value is also hashes?
example:
h['Member'].has_hash_value = true/ false
some kind like this... Can I?
--
Posted via http://www.ruby-forum.com/.
Back to comp.lang.ruby | Previous | Next — Next in thread | Find similar | Unroll thread
Can I check the a hash contain another hash in deep check? Siratinee Sukachai <ploy.sukachai@gmail.com> - 2011-04-22 13:52 -0500 Re: Can I check the a hash contain another hash in deep check? 7stud -- <bbxx789_05ss@yahoo.com> - 2011-04-22 14:43 -0500
csiph-web