J
Justin To
Hello, I'm new to Ruby and am trying this example problem. I'm suppose
to have a hash key whose value is a hash.
Ex. hash['a'] => hash
Then, I'm suppose to change the second hash's keys and values...
how do i go about this?
Hash1: Key => ( Hash2: aKey => aValue )
I want to change aKey and aValue
Hash1[key]??????
How do I index it, or access it??
Thanks in advance!!!!
to have a hash key whose value is a hash.
Ex. hash['a'] => hash
Then, I'm suppose to change the second hash's keys and values...
how do i go about this?
Hash1: Key => ( Hash2: aKey => aValue )
I want to change aKey and aValue
Hash1[key]??????
How do I index it, or access it??
Thanks in advance!!!!