| 1 | --- |
| 2 | features: |
| 3 | - | |
| 4 | Introducing a new spec DSL operator called ``<range-in>`` that allows users |
| 5 | to match a numeric value against a range of numbers that are delimited with |
| 6 | lower and upper limits. The new operator is a binary operator that accepts |
| 7 | 4 arguments. |
| 8 | |
| 9 | - The first one and the last one are brackets. ``[`` and ``]`` defines |
| 10 | inclusive limits while ``(`` and ``)`` defines exclusive limits. |
| 11 | |
| 12 | - The second one is the lower limit while the third one is the upper |
| 13 | limit. |
| 14 | |
| 15 | Example: "<range-in> [ 10.4 20 )" will match a value against an range |
| 16 | such as the lower limit of the range is 10.4 and the upper limit is 20. |
| 17 | Note that 10.4 is included while 20 is excluded. |