French ordinals

Ruby code posted by murphy
created at 10 Jul 19:08

Edit | Back
1
2
3
4
5
6
# lib/locales/fr.rb
{
  :fr => {
    :ordinal => proc { |number| "#{number}#{number == 1 ? 'er/re' : 'e'}" }
  }
}
119 Bytes in 2 ms with coderay