Sha256: b35d939920f3c397503bc731f3694936bbb187027ecc7cdc9c9711be978684ae
Contents?: true
Size: 252 Bytes
Versions: 221
Compression:
Stored size: 252 Bytes
Contents
function! Raindrops(number) abort let s = '' if a:number % 3 == 0 | let s .= 'Pling' | endif if a:number % 5 == 0 | let s .= 'Plang' | endif if a:number % 7 == 0 | let s .= 'Plong' | endif return empty(s) ? string(a:number) : s endfunction
Version data entries
221 entries across 221 versions & 1 rubygems