README.md in csv_decision-0.0.4 vs README.md in csv_decision-0.0.5
- old
+ new
@@ -14,11 +14,11 @@
It accepts decision tables implemented as a
[CSV file](https://en.wikipedia.org/wiki/Comma-separated_values),
which can then be used to execute complex conditional logic against an input hash,
producing a decision as an output hash.
- ### CSV Decision features
+### CSV Decision features
* Fast decision-time performance (see `benchmark.rb`).
* In addition to simple string matching, can match common Ruby constants,
regular expressions, numeric comparisons and Ruby-style ranges.
* Can use column symbols in comparisons for guard conditions -- e.g., > :column.
* Accepts data as a file, CSV string or an array of arrays. (For safety all input data is
@@ -26,10 +26,10 @@
* All CSV cells are parsed for correctness, and helpful error messages generated for bad
inputs.
* Either returns the first matching row as a hash, or accumulates all matches as an
array of hashes.
- ### Planned features
+### Planned features
`csv_decision` is still a work in progress, and will be enhanced to support
the following features:
* Input columns may be indexed for faster lookup performance.
* May use functions in the output columns to formulate the final decision.
* Input hash values may be conditionally defaulted using a constant or a function call