> however this
> ones_str = one[:str] and  another_str = another[:str]
> is bad syntax
> 
> im new to ruby and nested hashes and how to access them is proving to be
> trick for me. how do i access what :str refers to.

state_hash.each_key do |key|
    puts state_hash[key][:str]
end

this will output the values
-- 
Posted via http://www.ruby-forum.com/.