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