Sha256: 862c6a329d5bce3b6eef42e9a49e5b31ffbfed8cab21c8886097efea9cd69593
Contents?: true
Size: 311 Bytes
Versions: 123
Compression:
Stored size: 311 Bytes
Contents
bottle := method(i, if(i==0, return "no more bottles of beer") if(i==1, return "1 bottle of beer") return i asString .. " bottles of beer" ) for(i, 99, 1, -1, write(bottle(i), " on the wall, ", bottle(i), ",\n") write("take one down, pass it around,\n") write(bottle(i - 1), " on the wall.\n\n") )
Version data entries
123 entries across 121 versions & 9 rubygems