Module: NumbersAndWords::I18n::Plurals::Fr
- Defined in:
- lib/numbers_and_words/i18n/plurals/fr.rb
Constant Summary collapse
- RULE =
->(n) { one_conditions(n) ? :one : :other }
Class Method Summary collapse
Class Method Details
.one_conditions(n) ⇒ Object
9 10 11 |
# File 'lib/numbers_and_words/i18n/plurals/fr.rb', line 9 def one_conditions(n) n % 10 == 1 && n % 100 != 11 end |