How do you force to_yaml to output long strings in literal block style?

后端 未结 0 891
一生所求
一生所求 2021-01-18 15:21

I have long string values in a hash that I would like to be printed in literal block style (the block beginning with > or |) in YAML, rather tha

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