How to iterate over deep nested hash without known depth in Ruby

后端 未结 0 1608
迷失自我
迷失自我 2021-01-24 04:38

I have multiple YAML (localization) files. I parse them and convert to hash in Ruby.

For example this is one of them:

hello: Hallo
messages:
  alerts:
             


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题