rails/pluralization/hsb.rb in rails-i18n-4.0.3 vs rails/pluralization/hsb.rb in rails-i18n-4.0.4
- old
+ new
@@ -1,9 +1,10 @@
module RailsI18n
module Pluralization
module UpperSorbian
def self.rule
lambda do |n|
+ n ||= 0
mod100 = n % 100
if mod100 == 1
:one
elsif mod100 == 2