Skip to content

Commit

Permalink
Replace file examples w/ ones from unosmium.org
Browse files Browse the repository at this point in the history
Covers a wider range of tournament options
  • Loading branch information
zqianem committed Apr 8, 2020
1 parent 61354e8 commit fabf4eb
Show file tree
Hide file tree
Showing 8 changed files with 12,299 additions and 14,268 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ format.
From the command line, e.g.

```
sciolyff examples/nats_c_2017.yaml
sciolyff 2017-05-20_nationals_c.yaml
```

Inside Ruby code, e.g.
Expand All @@ -55,7 +55,7 @@ Inside Ruby code, e.g.
require 'sciolyff'

validator = SciolyFF::Validator.new
puts validator.valid? 'examples/nats_c_2017.yaml' #=> true
puts validator.valid? '2017-05-20_nationals_c.yaml' #=> true
print validator.last_log #=> error or warning messages
```

Expand All @@ -73,7 +73,7 @@ the output of Ruby's yaml parser. For example:
require 'sciolyff'
require 'yaml'

i = SciolyFF::Interpreter.new('example/nats_c_2017.yaml')
i = SciolyFF::Interpreter.new('2017-05-20_nationals_c.yaml')

a_and_p = i.events.find { |e| e.name == 'Anatomy and Physiology' }
a_and_p.trialed? #=> false
Expand Down
Loading

0 comments on commit fabf4eb

Please sign in to comment.