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: 96,766 of 188,317
Downloads: 8,465

Daily

Ranking: 127,110 of 188,299
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
2,3109,055,715hoe
8,506418,951newgem

Owners

#GravatarHandle