Sha256: 4484edd404983996fefae6189daef00748b559a5a6e515b6e0f2631f4f3a408a
Contents?: true
Size: 133 Bytes
Versions: 16
Compression:
Stored size: 133 Bytes
Contents
def weekend?(time) [0, 6].member?(time.wday) end def monday_after(time) 8.hours.after(1.week.after(time.beginning_of_week)) end
Version data entries
16 entries across 16 versions & 1 rubygems