RubyGems Navigation menu

niclasnilsson-clean-assert 0.6.1

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.

Gemfile:
= Copier Copié!

installation:
=

Versions:

  1. 0.6.2 - August 10, 2014 (7 ko)
  2. 0.6.1 - August 10, 2014 (7 ko)
  3. 0.5.0 - August 10, 2014 (7 ko)

Dépendances de Development (2):

hoe >= 1.8.0
newgem >= 1.3.0

Auteurs:

  • Niclas Nilsson

Total de contrôle SHA 256:

70929dfd61ba321c8f88b62c5299fd92feadadbbaa3116dc1237b98a2bf07666

Total de téléchargements 7 966

Pour cette version 2 346

License:

aucune

Version de Ruby requise: >= 0

Liens: