我有这种结构的哈希
{
a => ['1', '2', '', '5', '6', '7', '8'],
b => ['1', '2', '3', '6', '7', '8', '9'],
c => ['2', '', '4', '', '', '8', ''],
}
Run Code Online (Sandbox Code Playgroud)
我需要这样的一些
{
c => ['2', '4', '8'],
a => ['1', '2', '5', '6', '7', '8'],
b => ['1', '2', '3', '6', '7', '8', '9']
}
Run Code Online (Sandbox Code Playgroud)
如何删除''值?