diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2016-11-23 09:52:14 -0600 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2016-11-23 09:52:14 -0600 |
commit | 1d24d4d2ab6656bba29e949cdf5ffe15b98429cb (patch) | |
tree | 7aa053eaa9b53d9bbd4f25779affb01ecc75def7 /examples/anchors.yaml | |
parent | 6db69c72d4823a95c8feddaaa4380d13cf02939c (diff) | |
download | libyaml-git-1d24d4d2ab6656bba29e949cdf5ffe15b98429cb.tar.gz |
added an examples directory with a few yaml examples
Diffstat (limited to 'examples/anchors.yaml')
-rw-r--r-- | examples/anchors.yaml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/anchors.yaml b/examples/anchors.yaml new file mode 100644 index 0000000..8755853 --- /dev/null +++ b/examples/anchors.yaml @@ -0,0 +1,10 @@ +base: &base + name: Everyone has same name + +foo: &foo + <<: *base + age: 10 + +bar: &bar + <<: *base + age: 20 |