output:
{'Hyundai' => {'In2017' => 20, 'In2018' => 30, 'In2019' => 50}}
In addition to the other problems and objections mentioned, I can't even figure out how the quoted output relates to the example input. If you're going to cheat, at least cheat coherently.
Give a man a fish: <%-{-{-{-<
In reply to Re: hash of hash
by AnomalousMonk
in thread hash of hash
by Tigor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |