本文共 260 字,大约阅读时间需要 1 分钟。
我正在使用rails上的灯具,我希望其中一个灯具字段为空白。
例:
two:name: testpath: - I want this blank but not to act as a group heading.test: 4
但是,我不知道如何离开path:
空白而没有它作为一个团体头衔。 有谁知道怎么做?
谷歌以下应该有效:
path: \"\"
文件基于缩进。 一旦你实际上有正确的缩进,它将读取与兄弟姐妹相同级别的所有内容。
two: name: test path: test: 4
转载地址:http://wydnb.baihongyu.com/