Package: ruby-timecop (0.9.10-1.1)
Links for ruby-timecop
Debian Resources:
Download Source Package ruby-timecop:
- [ruby-timecop_0.9.10-1.1.dsc]
- [ruby-timecop_0.9.10.orig.tar.gz]
- [ruby-timecop_0.9.10-1.1.debian.tar.xz]
Maintainers:
External Resources:
- Homepage [github.com]
Similar packages:
Ruby library to easily test time-dependent code
Timecop makes it easy to travel through or freeze time for creating a predictable and ultimately testable scenario.
It is a wrapper class for manipulating the extensions to the Time, Date, and DateTime objects. It avoids overloading of functions with optional arguments while writing test cases. It is possible to nest multiple calls to Timecop.travel and Timecop.freeze, with each block maintaining concept of "now". Having no dependencies, it works with regular Ruby projects and Ruby on Rails projects.
Download ruby-timecop
Architecture | Package Size | Installed Size | Files |
---|---|---|---|
all | 11.9 kB | 45.0 kB | [list of files] |