Sha256: f52735f1266c26b5155106a63cc86695be780a76a86e23eec97e36fd14adbca2
Contents?: true
Size: 980 Bytes
Versions: 17
Compression:
Stored size: 980 Bytes
Contents
--- :bs: :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); (((((((v == 0) && (i % 10 == 1))) && (i % 100 != 11))) || (((f % 10 == 1) && (f % 100 != 11)))) ? :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))))) || ((((((f % 10).floor == (f % 10)) && ((f % 10) >= 2) && ((f % 10) <= 4))) && (!(((f % 100).floor == (f % 100)) && ((f % 100) >= 12) && ((f % 100) <= 14)))))) ? :few : :other)) }' :names: - :one - :few - :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