Sha256: 6d22538a22505b6e25e0d8dc15be9e726349a197013cb2e6461ceacf49c4d946
Contents?: true
Size: 686 Bytes
Versions: 13
Compression:
Stored size: 686 Bytes
Contents
--- :lv: :cardinal: :rule: 'lambda { |num, runtime| n = runtime.n(num); i = runtime.i(num); v = runtime.v(num); w = runtime.w(num); f = runtime.f(num); t = runtime.t(num); ((((n % 10 == 1 && n % 100 != 11) || ((v == 2 && f % 10 == 1) && f % 100 != 11)) || (v != 2 && f % 10 == 1)) ? :one : (((n % 10 == 0 || (11..19).include?(n % 100)) || (v == 2 && (11..19).include?(f % 100))) ? :zero : :other)) }' :names: - :one - :zero - :other :ordinal: :rule: lambda { |num, runtime| n = runtime.n(num); i = runtime.i(num); v = runtime.v(num); w = runtime.w(num); f = runtime.f(num); t = runtime.t(num); :other } :names: - :other
Version data entries
13 entries across 13 versions & 2 rubygems