Skip to content

Commit

Permalink
fix documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
dimus committed Dec 28, 2021
1 parent c3b7554 commit a1ac704
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ The gem should work on Linux, Mac and Windows (64bit) machines
## Benchmarks

The fastest way to go through a massive amount of names is to use
`Biodiversity::Parser.parse_ary([big array], simple = true)` function.
`Biodiversity::Parser.parse_ary([big array], simple: true)` function.

For example parsing a large file with one name per line:

Expand Down Expand Up @@ -75,10 +75,10 @@ Biodiversity.version
# gnparser.

# to parse a scientific name into a simple Ruby hash
Biodiversity::Parser.parse("Plantago major", simple = true)
Biodiversity::Parser.parse("Plantago major", simple: true)

# to parse many scientific names using all computer CPUs
Biodiversity::Parser.parse_ary(["Plantago major", ... ], simple = true)
Biodiversity::Parser.parse_ary(["Plantago major", ... ], simple: true)

# to parse a scientific name into a very detailed Ruby hash
Biodiversity::Parser.parse("Plantago major")
Expand Down

0 comments on commit a1ac704

Please sign in to comment.