我有一个形式的哈希
{:a => {“aa”=> 11,“ab”=> 12},:b => {“ba”=> 21,“bb”=> 22}}
{:a => {“aa”=> 11,“ab”=> 12},:b => {“ba”=> 21,“bb”=> 22}}
如何将其转换为{:a =>形式[[ “AA”,11],[ “AB”,12]],:B => [ “BA”,21],[ “BB”,22]]}
如何将其转换为{:a =>形式[[ “AA”,11],[ “AB”,12]],:B => [ “BA”,21],[ “BB”,22]]}