# File lib/rails_i18n/common_pluralizations/one_two_other.rb, line 7 def self.rule lambda do |n| if n == 1 :one elsif n == 2 :two else :other end end end
# File lib/rails_i18n/common_pluralizations/one_two_other.rb, line 19 def self.with_locale(locale) { locale => { :'i18n' => { :plural => { :keys => [:one, :two, :other], :rule => rule }}}} end
[Validate]
Generated with the Darkfish Rdoc Generator 2.