Sha256: f848fc57a0931b28b9ba5a80701effd9ed7057d8dbfd9bc32c58a85be38e138f
Contents?: true
Size: 442 Bytes
Versions: 7
Compression:
Stored size: 442 Bytes
Contents
--- :ar: ! '{ :''ar'' => { :i18n => { :plural => { :keys => [:zero, :one, :two, :few, :many, :other], :rule => lambda { |n| n = n.respond_to?(:abs) ? n.abs : ((m = n.to_s)[0] == "-" ? m[1,m.length] : m); n.to_f == 0 ? :zero : n.to_f == 1 ? :one : n.to_f == 2 ? :two : (((n.to_f % 100) % 1).zero? && (3..10).include?(n.to_f % 100)) ? :few : (((n.to_f % 100) % 1).zero? && (11..99).include?(n.to_f % 100)) ? :many : :other } } } } }'
Version data entries
7 entries across 7 versions & 1 rubygems