abstract class I18n::Pluralization::Rule
- I18n::Pluralization::Rule
- Reference
- Object
Overview
Abstract pluralization rule.
A pluralization rule class provides a main #rule
method that, given a count
number, returns the corresponding
plural catagory tag. Ideally returned values should be part of the common plural category tags that are defined
by the CLDR (:zero
, :one
, :two
, :few
, :many
and
:other
).
Direct Known Subclasses
- I18n::Pluralization::Rule::Arabic
- I18n::Pluralization::Rule::Breton
- I18n::Pluralization::Rule::CentralMoroccoTamazight
- I18n::Pluralization::Rule::Colognian
- I18n::Pluralization::Rule::EastSlavic
- I18n::Pluralization::Rule::Irish
- I18n::Pluralization::Rule::Langi
- I18n::Pluralization::Rule::Latvian
- I18n::Pluralization::Rule::Lithuanian
- I18n::Pluralization::Rule::Macedonian
- I18n::Pluralization::Rule::Maltese
- I18n::Pluralization::Rule::Manx
- I18n::Pluralization::Rule::OneOther
- I18n::Pluralization::Rule::OneTwoOther
- I18n::Pluralization::Rule::OneUpToTwoOther
- I18n::Pluralization::Rule::OneWithZeroOther
- I18n::Pluralization::Rule::Other
- I18n::Pluralization::Rule::Polish
- I18n::Pluralization::Rule::Romanian
- I18n::Pluralization::Rule::ScottishGaelic
- I18n::Pluralization::Rule::Slovenian
- I18n::Pluralization::Rule::UpperSorbian
- I18n::Pluralization::Rule::Welsh
- I18n::Pluralization::Rule::WestSlavic
Defined in:
i18n/pluralization/rule.cri18n/pluralization/rule/arabic.cr
i18n/pluralization/rule/breton.cr
i18n/pluralization/rule/central_morocco_tamazight.cr
i18n/pluralization/rule/colognian.cr
i18n/pluralization/rule/east_slavic.cr
i18n/pluralization/rule/irish.cr
i18n/pluralization/rule/langi.cr
i18n/pluralization/rule/latvian.cr
i18n/pluralization/rule/lithuanian.cr
i18n/pluralization/rule/macedonian.cr
i18n/pluralization/rule/maltese.cr
i18n/pluralization/rule/manx.cr
i18n/pluralization/rule/one_other.cr
i18n/pluralization/rule/one_two_other.cr
i18n/pluralization/rule/one_up_to_two_other.cr
i18n/pluralization/rule/one_with_zero_other.cr
i18n/pluralization/rule/other.cr
i18n/pluralization/rule/polish.cr
i18n/pluralization/rule/romanian.cr
i18n/pluralization/rule/scottish_gaelic.cr
i18n/pluralization/rule/slovenian.cr
i18n/pluralization/rule/upper_sorbian.cr
i18n/pluralization/rule/welsh.cr
i18n/pluralization/rule/west_slavic.cr