Ticket #8 (closed defect: fixed)
#numwords ignores the ':and' option
| Reported by: | deveiant | Owned by: | deveiant |
|---|---|---|---|
| Priority: | high | Milestone: | NLP Features |
| Component: | English | Version: | 1.0.3 |
| Severity: | normal | Keywords: | numwords and option |
| Cc: |
Description
The options passed to #numwords includes :and, which is supposed to be used to "[s]et the word and/or characters used where ’ and ’ (the default) is normally used."
Using the most recent HEAD (r88), it ignores that setting:
irb(main):001:0> 2006.numwords( :and => ' ' ) ==> "two thousand and six"
Change History
Note: See
TracTickets for help on using
tickets.
