gogotanaka / Rubype

:dromedary_camel: Super simple, clean. Contracts for Ruby
http://gogotanaka.github.io/rubype.github.io/
377 stars 14 forks source link

Fixed minor grammatical issue with error messages #15

Closed styrmis closed 9 years ago

styrmis commented 9 years ago

A very minor issue, but I spotted that "th" is used for all numbers in error messages, e.g. 1th, 2th, 3th etc. when they should be 1st, 2nd, 3rd, etc.

The ordinal function has been borrowed from ActiveSupport, this might not necessarily be the best way to go about this though.

houli commented 9 years ago

There are also 3 occurrences of this in examples in the README https://github.com/gogotanaka/Rubype/blob/develop/README.md

styrmis commented 9 years ago

@houli Ah yes, thanks for that; I've updated it now.

gogotanaka commented 9 years ago

@styrmis @houli Thank you, both of you guys! It's much better!!

styrmis commented 9 years ago

You're welcome! Keep up the good work 👍