Categories: None [Edit]

niclasnilsson-clean-assert

https://rubygems.org/gems/niclasnilsson-clean-assert
https://github.com/niclasnilsson/clean-assert
A Ruby library to get really clean asserts. Example: assert / "name != nil" / "not name.empty?" / "age >= 21" This will do three separate assertion checks and will give you an error message that includes the broken assertion code, the class and in which method. No need for having first the actual assertion and a strained error message that you normally have to write. This is executable, Design by Contract style.

Total

Ranking: 99,528 of 196,643
Downloads: 8,716

Daily

Ranking: 57,730 of 196,611
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
2,3859,544,220hoe
9,049438,345newgem

Owners

#GravatarHandle