Commit Graph
4 Commits
Author SHA1 Message Date
Adam Blinkinsop d53fbc1715 Add yaml DSL method to the Deck object. 2017-03-20 08:53:49 -04:00
Adam Blinkinsop 874456e87c Create sample.yaml
To finish up the _yaml.rb sample.
2017-03-20 08:53:49 -04:00
Adam Blinkinsop 04cf7d2c9c Create _yaml.rb
Next up, create sample.yaml
2017-03-20 08:53:49 -04:00
Adam Blinkinsop 563f800ba7 Add a yaml DSL method.
I find the yaml format easier to read than csv (when working entirely in text, at least).  This loader works on this array-formatted yaml, but not (for whatever reason, possibly library brokenness) on multi-doc format:

```
- title: Foo
  rank: 2

- title: Bar
  rank: 3
```
2017-03-20 08:53:49 -04:00