gitmyhub

timecop

Ruby ★ 3.4k updated 2mo ago

A gem providing "time travel", "time freezing", and "time acceleration" capabilities, making it simple to test time-dependent code. It provides a unified method to mock Time.now, Date.today, and DateTime.now in a single call.

No plain-English explanation yet — one is being written right now. Check back in a minute.