Sha256: d4bff481f46d916b4b4fd53c0890e10a4a2322088e2809fc7c4c7395f61cf545
Contents?: true
Size: 247 Bytes
Versions: 396
Compression:
Stored size: 247 Bytes
Contents
return function(n) local result = '' if n % 3 == 0 then result = result .. 'Pling' end if n % 5 == 0 then result = result .. 'Plang' end if n % 7 == 0 then result = result .. 'Plong' end return result ~= '' and result or tostring(n) end
Version data entries
396 entries across 396 versions & 1 rubygems