module RailsI18n::Pluralization::Other

Public Class Methods

rule() click to toggle source
# File lib/rails_i18n/common_pluralizations/other.rb, line 4
def self.rule
  Proc.new { :other }
end
with_locale(locale) click to toggle source
# File lib/rails_i18n/common_pluralizations/other.rb, line 8
def self.with_locale(locale)
  { locale => {
      :'i18n' => {
        :plural => {
          :keys => [:other],
          :rule => rule }}}}
end