How to include a YAML file inside a YAML file in Ruby

后端 未结 7 1443
悲&欢浪女
悲&欢浪女 2020-12-28 16:13

Is there a custom tag in YAML for ruby to include a YAML file inside a YAML file?

#E.g.:  
--- !include
filename: another.yml

A similar que

7条回答
  •  天命终不由人
    2020-12-28 17:04

    Depends what you need it for. If you need to transport file, you can base64 encode internal yaml file.

提交回复
热议问题