Sha256: bc57a94d4e754029ec89a788d96d2aeb92631c7e33c4324e25fc98c05d5d65e7

Contents?: true

Size: 393 Bytes

Versions: 25

Compression:

Stored size: 393 Bytes

Contents

module RailsI18n
  module Pluralization
    module Manx
      def self.rule
        lambda do |n|
          if [1, 2].include?(n % 10) || n % 20 == 0
            :one
          else
            :other
          end
        end
      end
    end
  end
end

{ :gv => {
    :'i18n' => {
      :plural => {
        :keys => [:one, :other],
        :rule => RailsI18n::Pluralization::Manx.rule }}}}

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
rails-i18n-4.0.3 rails/pluralization/gv.rb
rails-i18n-3.0.1 rails/pluralization/gv.rb
rails-i18n-4.0.2 rails/pluralization/gv.rb
rails-i18n-4.0.1 rails/pluralization/gv.rb
rails-i18n-3.0.0 rails/pluralization/gv.rb
rails-i18n-4.0.0 rails/pluralization/gv.rb
rails-i18n-3.0.0.pre2 rails/pluralization/gv.rb
rails-i18n-4.0.0.pre2 rails/pluralization/gv.rb
rails-i18n-4.0.0.pre rails/pluralization/gv.rb
rails-i18n-3.0.0.pre rails/pluralization/gv.rb
rails-i18n-0.7.4 rails/pluralization/gv.rb
rails-i18n-0.7.3 rails/pluralization/gv.rb
rails-i18n-0.7.2 rails/pluralization/gv.rb
rails-i18n-0.7.1 rails/pluralization/gv.rb
rails-i18n-0.7.0 rails/pluralization/gv.rb
rails-i18n-0.6.6 rails/pluralization/gv.rb
rails-i18n-0.6.5 rails/pluralization/gv.rb
rails-i18n-0.6.4 rails/pluralization/gv.rb
rails-i18n-0.6.3 rails/pluralization/gv.rb
rails-i18n-0.6.2 rails/pluralization/gv.rb