Displaying 1 result from an estimated 1 matches for "level1_value".
2006 Mar 31
6
how to access a hash within a hash in ruby?
Simple question:
I know how to access a data field in a hash by doing
hash_name[datafield_name].
But what if the datafield itself is a hash? I tried a couple of
variations but nothing seems to be working and tutorials do not go into
such details.
Is there a simple way or should I create separate instances?
-Chris
--
Posted via http://www.ruby-forum.com/.