Sha256: 4cf8d38d6971885c0129bae8735d6af448aaa4067c17921d77f559711f4bc2bc
Contents?: true
Size: 438 Bytes
Versions: 26
Compression:
Stored size: 438 Bytes
Contents
module RailsI18n module Pluralization module Langi def self.rule lambda do |n| n ||= 0 if n == 0 :zero elsif n > 0 && n < 2 :one else :other end end end end end end { :lag => { :'i18n' => { :plural => { :keys => [:zero, :one, :other], :rule => RailsI18n::Pluralization::Langi.rule }}}}
Version data entries
26 entries across 26 versions & 2 rubygems