Sha256: be556dcb44082b7c3c3c01151e9025c9b68050d2d1e7b73b362355f6976bc96d
Contents?: true
Size: 258 Bytes
Versions: 53
Compression:
Stored size: 258 Bytes
Contents
{ :lag => { :i18n => { :plural => { :keys => [:zero, :one, :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 : ([0, 1].include?(n.to_i) && n.to_f != 0) ? :one : :other } } } } }
Version data entries
53 entries across 53 versions & 1 rubygems