Sha256: ce5bd497fd9785beee4272d06c8c75dd40d396ee3a46f506d3d3897acfe756df
Contents?: true
Size: 146 Bytes
Versions: 51
Compression:
Stored size: 146 Bytes
Contents
class Leap { bool leapYear(int year) { if (year % 4 != 0) { return false; } return year % 100 != 0 || year % 400 == 0; } }
Version data entries
51 entries across 51 versions & 1 rubygems