Module: Pagy::I18n::P11n::WestSlavic

Defined in:
lib/pagy/modules/i18n/p11n/west_slavic.rb

Class Method Summary collapse

Class Method Details

.plural_for(n = 0) ⇒ Object



9
10
11
12
13
14
15
16
17
18
# File 'lib/pagy/modules/i18n/p11n/west_slavic.rb', line 9

def plural_for(n = 0)
  case n
  when 1
    :one
  when 2, 3, 4
    :few
  else
    :other
  end
end