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: 98,010 of 192,861
Downloads: 8,629

Daily

Ranking: 102,533 of 192,676
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
2,3559,261,534hoe
8,752427,475newgem

Owners

#GravatarHandle