Sha256: af905a9d2f08a78cb4097377851adae617cc463bc59b146ecc45d6b1177d3ea2
Contents?: true
Size: 219 Bytes
Versions: 2
Compression:
Stored size: 219 Bytes
Contents
module Ciuchcia def self.polish_ending(n, endings) case (n % 10) when 1: n > 10 ? endings[2] : endings[0] when 2..4: endings[1] else endings[2] end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ciuchcia-0.0.6 | lib/ciuchcia/base.rb |
ciuchcia-0.0.7 | lib/ciuchcia/base.rb |