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,144 of 195,650
Downloads: 8,704

Daily

Ranking: 151,049 of 195,620
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
2,3789,469,417hoe
9,015434,719newgem

Owners

#GravatarHandle