Sha256: cf826a2a1f57d0b426e1d30396a48b288f6aa44517d7dc3d1d932a4708400e6a
Contents?: true
Size: 1.04 KB
Versions: 17
Compression:
Stored size: 1.04 KB
Contents
--- :pl: :cardinal: :rule: 'lambda { |num, runtime| n = runtime.n(num); i = runtime.i(num); f = runtime.f(num); t = runtime.t(num); v = runtime.v(num); w = runtime.w(num); e = runtime.e(num); (((i == 1) && (v == 0)) ? :one : (((((v == 0) && ((((i % 10).floor == (i % 10)) && ((i % 10) >= 2) && ((i % 10) <= 4))))) && (!(((i % 100).floor == (i % 100)) && ((i % 100) >= 12) && ((i % 100) <= 14)))) ? :few : (((((((((v == 0) && (i != 1))) && ((((i % 10).floor == (i % 10)) && ((i % 10) >= 0) && ((i % 10) <= 1))))) || (((v == 0) && ((((i % 10).floor == (i % 10)) && ((i % 10) >= 5) && ((i % 10) <= 9))))))) || (((v == 0) && ((((i % 100).floor == (i % 100)) && ((i % 100) >= 12) && ((i % 100) <= 14)))))) ? :many : :other))) }' :names: - :one - :few - :many - :other :ordinal: :rule: lambda { |num, runtime| n = runtime.n(num); i = runtime.i(num); f = runtime.f(num); t = runtime.t(num); v = runtime.v(num); w = runtime.w(num); e = runtime.e(num); :other } :names: - :other
Version data entries
17 entries across 17 versions & 1 rubygems